diff options
-rw-r--r-- | drivers/video/cobalt_lcdfb.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/video/cobalt_lcdfb.c b/drivers/video/cobalt_lcdfb.c index a9031498e10c..a7b0ab62b97b 100644 --- a/drivers/video/cobalt_lcdfb.c +++ b/drivers/video/cobalt_lcdfb.c | |||
@@ -395,19 +395,7 @@ static struct platform_driver cobalt_lcdfb_driver = { | |||
395 | .owner = THIS_MODULE, | 395 | .owner = THIS_MODULE, |
396 | }, | 396 | }, |
397 | }; | 397 | }; |
398 | 398 | module_platform_driver(cobalt_lcdfb_driver); | |
399 | static int __init cobalt_lcdfb_init(void) | ||
400 | { | ||
401 | return platform_driver_register(&cobalt_lcdfb_driver); | ||
402 | } | ||
403 | |||
404 | static void __exit cobalt_lcdfb_exit(void) | ||
405 | { | ||
406 | platform_driver_unregister(&cobalt_lcdfb_driver); | ||
407 | } | ||
408 | |||
409 | module_init(cobalt_lcdfb_init); | ||
410 | module_exit(cobalt_lcdfb_exit); | ||
411 | 399 | ||
412 | MODULE_LICENSE("GPL v2"); | 400 | MODULE_LICENSE("GPL v2"); |
413 | MODULE_AUTHOR("Yoichi Yuasa"); | 401 | MODULE_AUTHOR("Yoichi Yuasa"); |