aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/pm3fb.c
diff options
context:
space:
mode:
authorAntonino A. Daplas <adaplas@gmail.com>2007-05-12 10:03:48 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-12 12:47:15 -0400
commit7248d497499a58a6f3bc3a05fdccb9a9b6306509 (patch)
treedde70253e66df2b83fc8f4cbec73aa6620d12d49 /drivers/video/pm3fb.c
parentaf3b146d26550f0c8e0d77b2117c6f8aec5d8146 (diff)
pm3fb: Fix compile error if module
pm3fb_setup() should only compiled if pm3fb is built statically in the kernel. Signed-off-by: Antonino Daplas <adaplas@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/pm3fb.c')
-rw-r--r--drivers/video/pm3fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/pm3fb.c b/drivers/video/pm3fb.c
index 6c4dfcb0feb9..c77a1a1fd46b 100644
--- a/drivers/video/pm3fb.c
+++ b/drivers/video/pm3fb.c
@@ -985,7 +985,7 @@ static void __exit pm3fb_exit(void)
985 pci_unregister_driver(&pm3fb_driver); 985 pci_unregister_driver(&pm3fb_driver);
986} 986}
987 987
988#ifdef MODULE 988#ifndef MODULE
989 /* 989 /*
990 * Setup 990 * Setup
991 */ 991 */