summaryrefslogtreecommitdiffstats
path: root/drivers/video/riva/fbdev.c
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2008-04-28 11:15:32 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-04-28 17:58:40 +0200
commitaffc23d11631a47d35dfd552ded8ca255c001490 (patch)
tree0d03e6ccc5c8f7ef22e6e340c9323ea1f199f99b /drivers/video/riva/fbdev.c
parentOLPC: gxfb/lxfb: add DCON panel modes to framebuffer drivers (diff)
downloadlinux-affc23d11631a47d35dfd552ded8ca255c001490.tar.xz
linux-affc23d11631a47d35dfd552ded8ca255c001490.zip
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/riva/fbdev.c')
-rw-r--r--drivers/video/riva/fbdev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c
index 5c47968e7f21..46a9237a11e4 100644
--- a/drivers/video/riva/fbdev.c
+++ b/drivers/video/riva/fbdev.c
@@ -2213,14 +2213,12 @@ static int __devinit rivafb_init(void)
module_init(rivafb_init);
-#ifdef MODULE
static void __exit rivafb_exit(void)
{
pci_unregister_driver(&rivafb_driver);
}
module_exit(rivafb_exit);
-#endif /* MODULE */
module_param(noaccel, bool, 0);
MODULE_PARM_DESC(noaccel, "bool: disable acceleration");