Commit affc23d1 authored by Alexey Dobriyan's avatar Alexey Dobriyan Committed by Linus Torvalds

fbdev: nv: drop useless MODULE ifdefs

Signed-off-by: default avatarAlexey Dobriyan <adobriyan@gmail.com>
Cc: Antonino A. Daplas <adaplas@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3553a2fa
...@@ -1559,7 +1559,6 @@ static int __devinit nvidiafb_init(void) ...@@ -1559,7 +1559,6 @@ static int __devinit nvidiafb_init(void)
module_init(nvidiafb_init); module_init(nvidiafb_init);
#ifdef MODULE
static void __exit nvidiafb_exit(void) static void __exit nvidiafb_exit(void)
{ {
pci_unregister_driver(&nvidiafb_driver); pci_unregister_driver(&nvidiafb_driver);
...@@ -1615,5 +1614,3 @@ MODULE_PARM_DESC(nomtrr, "Disables MTRR support (0 or 1=disabled) " ...@@ -1615,5 +1614,3 @@ MODULE_PARM_DESC(nomtrr, "Disables MTRR support (0 or 1=disabled) "
MODULE_AUTHOR("Antonino Daplas"); MODULE_AUTHOR("Antonino Daplas");
MODULE_DESCRIPTION("Framebuffer driver for nVidia graphics chipset"); MODULE_DESCRIPTION("Framebuffer driver for nVidia graphics chipset");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
#endif /* MODULE */
...@@ -2213,14 +2213,12 @@ static int __devinit rivafb_init(void) ...@@ -2213,14 +2213,12 @@ static int __devinit rivafb_init(void)
module_init(rivafb_init); module_init(rivafb_init);
#ifdef MODULE
static void __exit rivafb_exit(void) static void __exit rivafb_exit(void)
{ {
pci_unregister_driver(&rivafb_driver); pci_unregister_driver(&rivafb_driver);
} }
module_exit(rivafb_exit); module_exit(rivafb_exit);
#endif /* MODULE */
module_param(noaccel, bool, 0); module_param(noaccel, bool, 0);
MODULE_PARM_DESC(noaccel, "bool: disable acceleration"); MODULE_PARM_DESC(noaccel, "bool: disable acceleration");
......
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