diff options
-rw-r--r-- | drivers/mmc/host/omap_hsmmc.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 2aa963dcbdbd..b4c59eac348f 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++ b/drivers/mmc/host/omap_hsmmc.c | |||
@@ -2204,21 +2204,7 @@ static struct platform_driver omap_hsmmc_driver = { | |||
2204 | }, | 2204 | }, |
2205 | }; | 2205 | }; |
2206 | 2206 | ||
2207 | static int __init omap_hsmmc_init(void) | 2207 | module_platform_driver(omap_hsmmc_driver); |
2208 | { | ||
2209 | /* Register the MMC driver */ | ||
2210 | return platform_driver_register(&omap_hsmmc_driver); | ||
2211 | } | ||
2212 | |||
2213 | static void __exit omap_hsmmc_cleanup(void) | ||
2214 | { | ||
2215 | /* Unregister MMC driver */ | ||
2216 | platform_driver_unregister(&omap_hsmmc_driver); | ||
2217 | } | ||
2218 | |||
2219 | module_init(omap_hsmmc_init); | ||
2220 | module_exit(omap_hsmmc_cleanup); | ||
2221 | |||
2222 | MODULE_DESCRIPTION("OMAP High Speed Multimedia Card driver"); | 2208 | MODULE_DESCRIPTION("OMAP High Speed Multimedia Card driver"); |
2223 | MODULE_LICENSE("GPL"); | 2209 | MODULE_LICENSE("GPL"); |
2224 | MODULE_ALIAS("platform:" DRIVER_NAME); | 2210 | MODULE_ALIAS("platform:" DRIVER_NAME); |