diff options
Diffstat (limited to 'drivers/video/mbx/mbxfb.c')
-rw-r--r-- | drivers/video/mbx/mbxfb.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/video/mbx/mbxfb.c b/drivers/video/mbx/mbxfb.c index 6ce34160da78..55bf6196b7a0 100644 --- a/drivers/video/mbx/mbxfb.c +++ b/drivers/video/mbx/mbxfb.c | |||
@@ -1053,18 +1053,7 @@ static struct platform_driver mbxfb_driver = { | |||
1053 | }, | 1053 | }, |
1054 | }; | 1054 | }; |
1055 | 1055 | ||
1056 | int __devinit mbxfb_init(void) | 1056 | module_platform_driver(mbxfb_driver); |
1057 | { | ||
1058 | return platform_driver_register(&mbxfb_driver); | ||
1059 | } | ||
1060 | |||
1061 | static void __devexit mbxfb_exit(void) | ||
1062 | { | ||
1063 | platform_driver_unregister(&mbxfb_driver); | ||
1064 | } | ||
1065 | |||
1066 | module_init(mbxfb_init); | ||
1067 | module_exit(mbxfb_exit); | ||
1068 | 1057 | ||
1069 | MODULE_DESCRIPTION("loadable framebuffer driver for Marathon device"); | 1058 | MODULE_DESCRIPTION("loadable framebuffer driver for Marathon device"); |
1070 | MODULE_AUTHOR("Mike Rapoport, Compulab"); | 1059 | MODULE_AUTHOR("Mike Rapoport, Compulab"); |