From: Antonino A. Daplas Date: Sat, 12 May 2007 14:03:48 +0000 (+0800) Subject: pm3fb: Fix compile error if module X-Git-Tag: firefly_0821_release~29166 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7248d497499a58a6f3bc3a05fdccb9a9b6306509;p=firefly-linux-kernel-4.4.55.git pm3fb: Fix compile error if module pm3fb_setup() should only compiled if pm3fb is built statically in the kernel. Signed-off-by: Antonino Daplas Signed-off-by: Linus Torvalds --- 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) pci_unregister_driver(&pm3fb_driver); } -#ifdef MODULE +#ifndef MODULE /* * Setup */