diff options
Diffstat (limited to 'drivers/usb/host/ohci-at91.c')
-rw-r--r-- | drivers/usb/host/ohci-at91.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index cc405512fa1c..53f62cf7698b 100644 --- a/drivers/usb/host/ohci-at91.c +++ b/drivers/usb/host/ohci-at91.c | |||
@@ -320,18 +320,3 @@ static struct platform_driver ohci_hcd_at91_driver = { | |||
320 | }, | 320 | }, |
321 | }; | 321 | }; |
322 | 322 | ||
323 | static int __init ohci_hcd_at91_init (void) | ||
324 | { | ||
325 | if (usb_disabled()) | ||
326 | return -ENODEV; | ||
327 | |||
328 | return platform_driver_register(&ohci_hcd_at91_driver); | ||
329 | } | ||
330 | |||
331 | static void __exit ohci_hcd_at91_cleanup (void) | ||
332 | { | ||
333 | platform_driver_unregister(&ohci_hcd_at91_driver); | ||
334 | } | ||
335 | |||
336 | module_init (ohci_hcd_at91_init); | ||
337 | module_exit (ohci_hcd_at91_cleanup); | ||