提交 7248d497 编写于 作者: A Antonino A. Daplas 提交者: Linus Torvalds

pm3fb: Fix compile error if module

pm3fb_setup() should only compiled if pm3fb is built statically in the kernel.
Signed-off-by: NAntonino Daplas <adaplas@gmail.com>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 af3b146d
......@@ -985,7 +985,7 @@ static void __exit pm3fb_exit(void)
pci_unregister_driver(&pm3fb_driver);
}
#ifdef MODULE
#ifndef MODULE
/*
* Setup
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册