diff options
Diffstat (limited to 'drivers/mmc/host/ushc.c')
-rw-r--r-- | drivers/mmc/host/ushc.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/mmc/host/ushc.c b/drivers/mmc/host/ushc.c index f08f944ac53..c0105a2e269 100644 --- a/drivers/mmc/host/ushc.c +++ b/drivers/mmc/host/ushc.c | |||
@@ -562,17 +562,7 @@ static struct usb_driver ushc_driver = { | |||
562 | .disconnect = ushc_disconnect, | 562 | .disconnect = ushc_disconnect, |
563 | }; | 563 | }; |
564 | 564 | ||
565 | static int __init ushc_init(void) | 565 | module_usb_driver(ushc_driver); |
566 | { | ||
567 | return usb_register(&ushc_driver); | ||
568 | } | ||
569 | module_init(ushc_init); | ||
570 | |||
571 | static void __exit ushc_exit(void) | ||
572 | { | ||
573 | usb_deregister(&ushc_driver); | ||
574 | } | ||
575 | module_exit(ushc_exit); | ||
576 | 566 | ||
577 | MODULE_DESCRIPTION("USB SD Host Controller driver"); | 567 | MODULE_DESCRIPTION("USB SD Host Controller driver"); |
578 | MODULE_AUTHOR("David Vrabel <david.vrabel@csr.com>"); | 568 | MODULE_AUTHOR("David Vrabel <david.vrabel@csr.com>"); |