diff options
-rw-r--r-- | drivers/mmc/host/mvsdio.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c index 145cdaf000d1..2b7d5b72c7bb 100644 --- a/drivers/mmc/host/mvsdio.c +++ b/drivers/mmc/host/mvsdio.c | |||
@@ -881,18 +881,7 @@ static struct platform_driver mvsd_driver = { | |||
881 | }, | 881 | }, |
882 | }; | 882 | }; |
883 | 883 | ||
884 | static int __init mvsd_init(void) | 884 | module_platform_driver_probe(mvsd_driver, mvsd_probe); |
885 | { | ||
886 | return platform_driver_probe(&mvsd_driver, mvsd_probe); | ||
887 | } | ||
888 | |||
889 | static void __exit mvsd_exit(void) | ||
890 | { | ||
891 | platform_driver_unregister(&mvsd_driver); | ||
892 | } | ||
893 | |||
894 | module_init(mvsd_init); | ||
895 | module_exit(mvsd_exit); | ||
896 | 885 | ||
897 | /* maximum card clock frequency (default 50MHz) */ | 886 | /* maximum card clock frequency (default 50MHz) */ |
898 | module_param(maxfreq, int, 0); | 887 | module_param(maxfreq, int, 0); |