#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
+#include <linux/tty.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/fb.h>
pci_release_region(pdev, 2);
}
+ pci_disable_device(pdev);
+
if (info)
framebuffer_release(info);
return ret;
iounmap(par->dc_regs);
pci_release_region(pdev, 2);
+ pci_disable_device(pdev);
pci_set_drvdata(pdev, NULL);
framebuffer_release(info);