]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
pm3fb: Fix compile error if module
authorAntonino A. Daplas <adaplas@gmail.com>
Sat, 12 May 2007 14:03:48 +0000 (22:03 +0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 12 May 2007 16:47:15 +0000 (09:47 -0700)
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>
drivers/video/pm3fb.c

index 6c4dfcb0feb9b3008431b6c4be54da6d202297fb..c77a1a1fd46bcf2aaf4870693dca3f4a15c5a207 100644 (file)
@@ -985,7 +985,7 @@ static void __exit pm3fb_exit(void)
        pci_unregister_driver(&pm3fb_driver);
 }
 
-#ifdef MODULE
+#ifndef MODULE
        /*
         *  Setup
         */