diff options
Diffstat (limited to 'drivers/mmc/host/sh_mmcif.c')
-rw-r--r-- | drivers/mmc/host/sh_mmcif.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c index 2ec23b0053b6..7bec007bcefa 100644 --- a/drivers/mmc/host/sh_mmcif.c +++ b/drivers/mmc/host/sh_mmcif.c | |||
@@ -1207,19 +1207,7 @@ static struct platform_driver sh_mmcif_driver = { | |||
1207 | }, | 1207 | }, |
1208 | }; | 1208 | }; |
1209 | 1209 | ||
1210 | static int __init sh_mmcif_init(void) | 1210 | module_platform_driver(sh_mmcif_driver); |
1211 | { | ||
1212 | return platform_driver_register(&sh_mmcif_driver); | ||
1213 | } | ||
1214 | |||
1215 | static void __exit sh_mmcif_exit(void) | ||
1216 | { | ||
1217 | platform_driver_unregister(&sh_mmcif_driver); | ||
1218 | } | ||
1219 | |||
1220 | module_init(sh_mmcif_init); | ||
1221 | module_exit(sh_mmcif_exit); | ||
1222 | |||
1223 | 1211 | ||
1224 | MODULE_DESCRIPTION("SuperH on-chip MMC/eMMC interface driver"); | 1212 | MODULE_DESCRIPTION("SuperH on-chip MMC/eMMC interface driver"); |
1225 | MODULE_LICENSE("GPL"); | 1213 | MODULE_LICENSE("GPL"); |