tree 9120479b4c721855b378db8907e1259f2e583f2b
parent e4ec0f23c878f761cf33f3cbb66c66d6c05931ba
author Adrian Bunk <[EMAIL PROTECTED]> Fri, 22 Apr 2005 04:09:42 -0700
committer Linus Torvalds <[EMAIL PROTECTED]> Fri, 22 Apr 2005 04:09:42 -0700

[PATCH] Fix tgafb.c compile failure

The untested patch below should fix this compile error.

Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>

 video/tgafb.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)

Index: drivers/video/tgafb.c
===================================================================
--- 1f80476e6420e8a12a8aa065d5cd106bd0f5b147/drivers/video/tgafb.c  
(mode:100644 sha1:3099630d0c3d0b0e4cd17513085c1c1500784dc3)
+++ 9120479b4c721855b378db8907e1259f2e583f2b/drivers/video/tgafb.c  
(mode:100644 sha1:9d9d2009ad8caa3af457d263afa5c8717227016a)
@@ -45,9 +45,7 @@ static void tgafb_fillrect(struct fb_inf
 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 = "[EMAIL PROTECTED]";
 
@@ -1484,7 +1482,6 @@ tgafb_pci_register(struct pci_dev *pdev,
        return ret;
 }
 
-#ifdef MODULE
 static void __exit
 tgafb_pci_unregister(struct pci_dev *pdev)
 {
@@ -1500,6 +1497,7 @@ tgafb_pci_unregister(struct pci_dev *pde
        kfree(info);
 }
 
+#ifdef MODULE
 static void __exit
 tgafb_exit(void)
 {
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to