diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-04-28 05:15:32 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-28 11:58:40 -0400 |
commit | affc23d11631a47d35dfd552ded8ca255c001490 (patch) | |
tree | 0d03e6ccc5c8f7ef22e6e340c9323ea1f199f99b /drivers/video/riva | |
parent | 3553a2fa8cbfc9f85f1809366be5884054f52c6d (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/riva')
-rw-r--r-- | drivers/video/riva/fbdev.c | 2 |
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) | |||
2213 | 2213 | ||
2214 | module_init(rivafb_init); | 2214 | module_init(rivafb_init); |
2215 | 2215 | ||
2216 | #ifdef MODULE | ||
2217 | static void __exit rivafb_exit(void) | 2216 | static void __exit rivafb_exit(void) |
2218 | { | 2217 | { |
2219 | pci_unregister_driver(&rivafb_driver); | 2218 | pci_unregister_driver(&rivafb_driver); |
2220 | } | 2219 | } |
2221 | 2220 | ||
2222 | module_exit(rivafb_exit); | 2221 | module_exit(rivafb_exit); |
2223 | #endif /* MODULE */ | ||
2224 | 2222 | ||
2225 | module_param(noaccel, bool, 0); | 2223 | module_param(noaccel, bool, 0); |
2226 | MODULE_PARM_DESC(noaccel, "bool: disable acceleration"); | 2224 | MODULE_PARM_DESC(noaccel, "bool: disable acceleration"); |