diff options
Diffstat (limited to 'drivers/video/pxa168fb.c')
-rw-r--r-- | drivers/video/pxa168fb.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/video/pxa168fb.c b/drivers/video/pxa168fb.c index 18ead6f0184d..8384b941f6ba 100644 --- a/drivers/video/pxa168fb.c +++ b/drivers/video/pxa168fb.c | |||
@@ -832,17 +832,7 @@ static struct platform_driver pxa168fb_driver = { | |||
832 | .remove = __devexit_p(pxa168fb_remove), | 832 | .remove = __devexit_p(pxa168fb_remove), |
833 | }; | 833 | }; |
834 | 834 | ||
835 | static int __init pxa168fb_init(void) | 835 | module_platform_driver(pxa168fb_driver); |
836 | { | ||
837 | return platform_driver_register(&pxa168fb_driver); | ||
838 | } | ||
839 | module_init(pxa168fb_init); | ||
840 | |||
841 | static void __exit pxa168fb_exit(void) | ||
842 | { | ||
843 | platform_driver_unregister(&pxa168fb_driver); | ||
844 | } | ||
845 | module_exit(pxa168fb_exit); | ||
846 | 836 | ||
847 | MODULE_AUTHOR("Lennert Buytenhek <buytenh@marvell.com> " | 837 | MODULE_AUTHOR("Lennert Buytenhek <buytenh@marvell.com> " |
848 | "Green Wan <gwan@marvell.com>"); | 838 | "Green Wan <gwan@marvell.com>"); |