diff options
Diffstat (limited to 'drivers/usb/host/ehci-hcd.c')
-rw-r--r-- | drivers/usb/host/ehci-hcd.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 4a466d7730c5..28f694eb624b 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c | |||
@@ -1240,14 +1240,6 @@ EXPORT_SYMBOL_GPL(ehci_init_driver); | |||
1240 | 1240 | ||
1241 | /*-------------------------------------------------------------------------*/ | 1241 | /*-------------------------------------------------------------------------*/ |
1242 | 1242 | ||
1243 | /* | ||
1244 | * The EHCI in ChipIdea HDRC cannot be a separate module or device, | ||
1245 | * because its registers (and irq) are shared between host/gadget/otg | ||
1246 | * functions and in order to facilitate role switching we cannot | ||
1247 | * give the ehci driver exclusive access to those. | ||
1248 | */ | ||
1249 | #ifndef CHIPIDEA_EHCI | ||
1250 | |||
1251 | MODULE_DESCRIPTION(DRIVER_DESC); | 1243 | MODULE_DESCRIPTION(DRIVER_DESC); |
1252 | MODULE_AUTHOR (DRIVER_AUTHOR); | 1244 | MODULE_AUTHOR (DRIVER_AUTHOR); |
1253 | MODULE_LICENSE ("GPL"); | 1245 | MODULE_LICENSE ("GPL"); |
@@ -1359,6 +1351,7 @@ MODULE_LICENSE ("GPL"); | |||
1359 | 1351 | ||
1360 | #if !IS_ENABLED(CONFIG_USB_EHCI_PCI) && \ | 1352 | #if !IS_ENABLED(CONFIG_USB_EHCI_PCI) && \ |
1361 | !IS_ENABLED(CONFIG_USB_EHCI_HCD_PLATFORM) && \ | 1353 | !IS_ENABLED(CONFIG_USB_EHCI_HCD_PLATFORM) && \ |
1354 | !defined(CONFIG_USB_CHIPIDEA_HOST) && \ | ||
1362 | !defined(PLATFORM_DRIVER) && \ | 1355 | !defined(PLATFORM_DRIVER) && \ |
1363 | !defined(PS3_SYSTEM_BUS_DRIVER) && \ | 1356 | !defined(PS3_SYSTEM_BUS_DRIVER) && \ |
1364 | !defined(OF_PLATFORM_DRIVER) && \ | 1357 | !defined(OF_PLATFORM_DRIVER) && \ |
@@ -1464,5 +1457,3 @@ static void __exit ehci_hcd_cleanup(void) | |||
1464 | clear_bit(USB_EHCI_LOADED, &usb_hcds_loaded); | 1457 | clear_bit(USB_EHCI_LOADED, &usb_hcds_loaded); |
1465 | } | 1458 | } |
1466 | module_exit(ehci_hcd_cleanup); | 1459 | module_exit(ehci_hcd_cleanup); |
1467 | |||
1468 | #endif /* CHIPIDEA_EHCI */ | ||