diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-04-22 01:09:42 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-22 01:09:42 +0400 |
commit | 62b56faa43a7e672e659d14f38f553ed8b40ea70 (patch) | |
tree | 9120479b4c721855b378db8907e1259f2e583f2b /drivers/video/tgafb.c | |
parent | e4ec0f23c878f761cf33f3cbb66c66d6c05931ba (diff) | |
download | linux-62b56faa43a7e672e659d14f38f553ed8b40ea70.tar.xz |
[PATCH] Fix tgafb.c compile failure
The untested patch below should fix this compile error.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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 *); static void tgafb_copyarea(struct fb_info *, const struct fb_copyarea *); static int tgafb_pci_register(struct pci_dev *, const struct pci_device_id *); -#ifdef MODULE static void tgafb_pci_unregister(struct pci_dev *); -#endif static const char *mode_option = "640x480@60"; @@ -1484,7 +1482,6 @@ tgafb_pci_register(struct pci_dev *pdev, const struct pci_device_id *ent) return ret; } -#ifdef MODULE static void __exit tgafb_pci_unregister(struct pci_dev *pdev) { @@ -1500,6 +1497,7 @@ tgafb_pci_unregister(struct pci_dev *pdev) kfree(info); } +#ifdef MODULE static void __exit tgafb_exit(void) { |