Commit 7248d497 authored by Antonino A. Daplas's avatar Antonino A. Daplas Committed by Linus Torvalds

pm3fb: Fix compile error if module

pm3fb_setup() should only compiled if pm3fb is built statically in the kernel.
Signed-off-by: default avatarAntonino Daplas <adaplas@gmail.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent af3b146d
...@@ -985,7 +985,7 @@ static void __exit pm3fb_exit(void) ...@@ -985,7 +985,7 @@ static void __exit pm3fb_exit(void)
pci_unregister_driver(&pm3fb_driver); pci_unregister_driver(&pm3fb_driver);
} }
#ifdef MODULE #ifndef MODULE
/* /*
* Setup * Setup
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment