diff options
Diffstat (limited to 'drivers/mmc/host/mxcmmc.c')
-rw-r--r-- | drivers/mmc/host/mxcmmc.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index 8e0fbe994047..7088b40f9579 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc/host/mxcmmc.c | |||
@@ -1047,18 +1047,7 @@ static struct platform_driver mxcmci_driver = { | |||
1047 | } | 1047 | } |
1048 | }; | 1048 | }; |
1049 | 1049 | ||
1050 | static int __init mxcmci_init(void) | 1050 | module_platform_driver(mxcmci_driver); |
1051 | { | ||
1052 | return platform_driver_register(&mxcmci_driver); | ||
1053 | } | ||
1054 | |||
1055 | static void __exit mxcmci_exit(void) | ||
1056 | { | ||
1057 | platform_driver_unregister(&mxcmci_driver); | ||
1058 | } | ||
1059 | |||
1060 | module_init(mxcmci_init); | ||
1061 | module_exit(mxcmci_exit); | ||
1062 | 1051 | ||
1063 | MODULE_DESCRIPTION("i.MX Multimedia Card Interface Driver"); | 1052 | MODULE_DESCRIPTION("i.MX Multimedia Card Interface Driver"); |
1064 | MODULE_AUTHOR("Sascha Hauer, Pengutronix"); | 1053 | MODULE_AUTHOR("Sascha Hauer, Pengutronix"); |