diff options
Diffstat (limited to 'drivers/mmc/host/sdhci-dove.c')
-rw-r--r-- | drivers/mmc/host/sdhci-dove.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/mmc/host/sdhci-dove.c b/drivers/mmc/host/sdhci-dove.c index a81312c91f70..46fd1fd1b605 100644 --- a/drivers/mmc/host/sdhci-dove.c +++ b/drivers/mmc/host/sdhci-dove.c | |||
@@ -88,17 +88,7 @@ static struct platform_driver sdhci_dove_driver = { | |||
88 | .remove = __devexit_p(sdhci_dove_remove), | 88 | .remove = __devexit_p(sdhci_dove_remove), |
89 | }; | 89 | }; |
90 | 90 | ||
91 | static int __init sdhci_dove_init(void) | 91 | module_platform_driver(sdhci_dove_driver); |
92 | { | ||
93 | return platform_driver_register(&sdhci_dove_driver); | ||
94 | } | ||
95 | module_init(sdhci_dove_init); | ||
96 | |||
97 | static void __exit sdhci_dove_exit(void) | ||
98 | { | ||
99 | platform_driver_unregister(&sdhci_dove_driver); | ||
100 | } | ||
101 | module_exit(sdhci_dove_exit); | ||
102 | 92 | ||
103 | MODULE_DESCRIPTION("SDHCI driver for Dove"); | 93 | MODULE_DESCRIPTION("SDHCI driver for Dove"); |
104 | MODULE_AUTHOR("Saeed Bishara <saeed@marvell.com>, " | 94 | MODULE_AUTHOR("Saeed Bishara <saeed@marvell.com>, " |