diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-05-08 09:52:20 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-27 18:53:00 -0400 |
commit | 38e0c109404506266e33c29c77c2da39630954a4 (patch) | |
tree | 708222ed0f2a080d751288946d2e10c9b0f3de69 /drivers/usb/host/Kconfig | |
parent | 068413e9b7beb0843704ebaee3fb20f31c9a4cdf (diff) |
usb: ohci: sort out dependencies for lpc32xx and omap
The dependency on the isp1301 driver is not something that
should be in the main OHCI driver but rather the SoC specific
part of it.
This moves the dependency for LPC32xx into USB_OHCI_HCD_LPC32XX,
and changes the 'select ISP1301_OMAP' to a similar 'depends on'.
Since the same dependency exists for the client driver, do the
same change there.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: linux-omap@vger.kernel.org
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/Kconfig')
-rw-r--r-- | drivers/usb/host/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 363fc212c618..61b7817bd66b 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig | |||
@@ -363,8 +363,6 @@ config USB_MAX3421_HCD | |||
363 | 363 | ||
364 | config USB_OHCI_HCD | 364 | config USB_OHCI_HCD |
365 | tristate "OHCI HCD (USB 1.1) support" | 365 | tristate "OHCI HCD (USB 1.1) support" |
366 | select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 | ||
367 | depends on USB_ISP1301 || !ARCH_LPC32XX | ||
368 | ---help--- | 366 | ---help--- |
369 | The Open Host Controller Interface (OHCI) is a standard for accessing | 367 | The Open Host Controller Interface (OHCI) is a standard for accessing |
370 | USB 1.1 host controller hardware. It does more in hardware than Intel's | 368 | USB 1.1 host controller hardware. It does more in hardware than Intel's |
@@ -383,6 +381,7 @@ if USB_OHCI_HCD | |||
383 | config USB_OHCI_HCD_OMAP1 | 381 | config USB_OHCI_HCD_OMAP1 |
384 | tristate "OHCI support for OMAP1/2 chips" | 382 | tristate "OHCI support for OMAP1/2 chips" |
385 | depends on ARCH_OMAP1 | 383 | depends on ARCH_OMAP1 |
384 | depends on ISP1301_OMAP || !(MACH_OMAP_H2 || MACH_OMAP_H3) | ||
386 | default y | 385 | default y |
387 | ---help--- | 386 | ---help--- |
388 | Enables support for the OHCI controller on OMAP1/2 chips. | 387 | Enables support for the OHCI controller on OMAP1/2 chips. |
@@ -406,6 +405,7 @@ config USB_OHCI_HCD_S3C2410 | |||
406 | config USB_OHCI_HCD_LPC32XX | 405 | config USB_OHCI_HCD_LPC32XX |
407 | tristate "Support for LPC on-chip OHCI USB controller" | 406 | tristate "Support for LPC on-chip OHCI USB controller" |
408 | depends on USB_OHCI_HCD && ARCH_LPC32XX | 407 | depends on USB_OHCI_HCD && ARCH_LPC32XX |
408 | depends on USB_ISP1301 | ||
409 | default y | 409 | default y |
410 | ---help--- | 410 | ---help--- |
411 | Enables support for the on-chip OHCI controller on | 411 | Enables support for the on-chip OHCI controller on |