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>
This commit is contained in:
parent
af3b146d26
commit
7248d49749
|
@ -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
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue