1
0
Fork 0

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>
hifive-unleashed-5.1
Antonino A. Daplas 2007-05-12 22:03:48 +08:00 committed by Linus Torvalds
parent af3b146d26
commit 7248d49749
1 changed files with 1 additions and 1 deletions

View File

@ -985,7 +985,7 @@ static void __exit pm3fb_exit(void)
pci_unregister_driver(&pm3fb_driver);
}
#ifdef MODULE
#ifndef MODULE
/*
* Setup
*/