diff options
Diffstat (limited to 'drivers/video/wm8505fb.c')
-rw-r--r-- | drivers/video/wm8505fb.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/video/wm8505fb.c b/drivers/video/wm8505fb.c index 96e34a569169..c8703bd61b74 100644 --- a/drivers/video/wm8505fb.c +++ b/drivers/video/wm8505fb.c | |||
@@ -404,18 +404,7 @@ static struct platform_driver wm8505fb_driver = { | |||
404 | }, | 404 | }, |
405 | }; | 405 | }; |
406 | 406 | ||
407 | static int __init wm8505fb_init(void) | 407 | module_platform_driver(wm8505fb_driver); |
408 | { | ||
409 | return platform_driver_register(&wm8505fb_driver); | ||
410 | } | ||
411 | |||
412 | static void __exit wm8505fb_exit(void) | ||
413 | { | ||
414 | platform_driver_unregister(&wm8505fb_driver); | ||
415 | } | ||
416 | |||
417 | module_init(wm8505fb_init); | ||
418 | module_exit(wm8505fb_exit); | ||
419 | 408 | ||
420 | MODULE_AUTHOR("Ed Spiridonov <edo.rus@gmail.com>"); | 409 | MODULE_AUTHOR("Ed Spiridonov <edo.rus@gmail.com>"); |
421 | MODULE_DESCRIPTION("Framebuffer driver for WMT WM8505"); | 410 | MODULE_DESCRIPTION("Framebuffer driver for WMT WM8505"); |