diff options
Diffstat (limited to 'drivers/mmc/host/mmci.c')
-rw-r--r-- | drivers/mmc/host/mmci.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c index 304f2f98b680..6692392c05dd 100644 --- a/drivers/mmc/host/mmci.c +++ b/drivers/mmc/host/mmci.c | |||
@@ -1519,18 +1519,8 @@ static struct amba_driver mmci_driver = { | |||
1519 | .id_table = mmci_ids, | 1519 | .id_table = mmci_ids, |
1520 | }; | 1520 | }; |
1521 | 1521 | ||
1522 | static int __init mmci_init(void) | 1522 | module_amba_driver(mmci_driver); |
1523 | { | ||
1524 | return amba_driver_register(&mmci_driver); | ||
1525 | } | ||
1526 | |||
1527 | static void __exit mmci_exit(void) | ||
1528 | { | ||
1529 | amba_driver_unregister(&mmci_driver); | ||
1530 | } | ||
1531 | 1523 | ||
1532 | module_init(mmci_init); | ||
1533 | module_exit(mmci_exit); | ||
1534 | module_param(fmax, uint, 0444); | 1524 | module_param(fmax, uint, 0444); |
1535 | 1525 | ||
1536 | MODULE_DESCRIPTION("ARM PrimeCell PL180/181 Multimedia Card Interface driver"); | 1526 | MODULE_DESCRIPTION("ARM PrimeCell PL180/181 Multimedia Card Interface driver"); |