aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/nvidia/nvidia.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-04-28 05:15:32 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 11:58:40 -0400
commitaffc23d11631a47d35dfd552ded8ca255c001490 (patch)
tree0d03e6ccc5c8f7ef22e6e340c9323ea1f199f99b /drivers/video/nvidia/nvidia.c
parent3553a2fa8cbfc9f85f1809366be5884054f52c6d (diff)
fbdev: nv: drop useless MODULE ifdefs
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Cc: Antonino A. Daplas <adaplas@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/nvidia/nvidia.c')
-rw-r--r--drivers/video/nvidia/nvidia.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c
index 596652d2831f..4f46e9cf8cca 100644
--- a/drivers/video/nvidia/nvidia.c
+++ b/drivers/video/nvidia/nvidia.c
@@ -1559,7 +1559,6 @@ static int __devinit nvidiafb_init(void)
1559 1559
1560module_init(nvidiafb_init); 1560module_init(nvidiafb_init);
1561 1561
1562#ifdef MODULE
1563static void __exit nvidiafb_exit(void) 1562static void __exit nvidiafb_exit(void)
1564{ 1563{
1565 pci_unregister_driver(&nvidiafb_driver); 1564 pci_unregister_driver(&nvidiafb_driver);
@@ -1615,5 +1614,3 @@ MODULE_PARM_DESC(nomtrr, "Disables MTRR support (0 or 1=disabled) "
1615MODULE_AUTHOR("Antonino Daplas"); 1614MODULE_AUTHOR("Antonino Daplas");
1616MODULE_DESCRIPTION("Framebuffer driver for nVidia graphics chipset"); 1615MODULE_DESCRIPTION("Framebuffer driver for nVidia graphics chipset");
1617MODULE_LICENSE("GPL"); 1616MODULE_LICENSE("GPL");
1618#endif /* MODULE */
1619