diff options
Diffstat (limited to 'drivers/video/tgafb.c')
-rw-r--r-- | drivers/video/tgafb.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/tgafb.c b/drivers/video/tgafb.c index 3099630d0c3d..9d9d2009ad8c 100644 --- a/drivers/video/tgafb.c +++ b/drivers/video/tgafb.c | |||
@@ -45,9 +45,7 @@ static void tgafb_fillrect(struct fb_info *, const struct fb_fillrect *); | |||
45 | static void tgafb_copyarea(struct fb_info *, const struct fb_copyarea *); | 45 | static void tgafb_copyarea(struct fb_info *, const struct fb_copyarea *); |
46 | 46 | ||
47 | static int tgafb_pci_register(struct pci_dev *, const struct pci_device_id *); | 47 | static int tgafb_pci_register(struct pci_dev *, const struct pci_device_id *); |
48 | #ifdef MODULE | ||
49 | static void tgafb_pci_unregister(struct pci_dev *); | 48 | static void tgafb_pci_unregister(struct pci_dev *); |
50 | #endif | ||
51 | 49 | ||
52 | static const char *mode_option = "640x480@60"; | 50 | static const char *mode_option = "640x480@60"; |
53 | 51 | ||
@@ -1484,7 +1482,6 @@ tgafb_pci_register(struct pci_dev *pdev, const struct pci_device_id *ent) | |||
1484 | return ret; | 1482 | return ret; |
1485 | } | 1483 | } |
1486 | 1484 | ||
1487 | #ifdef MODULE | ||
1488 | static void __exit | 1485 | static void __exit |
1489 | tgafb_pci_unregister(struct pci_dev *pdev) | 1486 | tgafb_pci_unregister(struct pci_dev *pdev) |
1490 | { | 1487 | { |
@@ -1500,6 +1497,7 @@ tgafb_pci_unregister(struct pci_dev *pdev) | |||
1500 | kfree(info); | 1497 | kfree(info); |
1501 | } | 1498 | } |
1502 | 1499 | ||
1500 | #ifdef MODULE | ||
1503 | static void __exit | 1501 | static void __exit |
1504 | tgafb_exit(void) | 1502 | tgafb_exit(void) |
1505 | { | 1503 | { |