Commit 38e0c109 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman

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: default avatarArnd Bergmann <arnd@arndb.de>
Cc: linux-omap@vger.kernel.org
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 068413e9
...@@ -157,7 +157,7 @@ config USB_AT91 ...@@ -157,7 +157,7 @@ config USB_AT91
config USB_LPC32XX config USB_LPC32XX
tristate "LPC32XX USB Peripheral Controller" tristate "LPC32XX USB Peripheral Controller"
depends on ARCH_LPC32XX depends on ARCH_LPC32XX && I2C
select USB_ISP1301 select USB_ISP1301
help help
This option selects the USB device controller in the LPC32xx SoC. This option selects the USB device controller in the LPC32xx SoC.
...@@ -226,7 +226,7 @@ config USB_GR_UDC ...@@ -226,7 +226,7 @@ config USB_GR_UDC
config USB_OMAP config USB_OMAP
tristate "OMAP USB Device Controller" tristate "OMAP USB Device Controller"
depends on ARCH_OMAP1 depends on ARCH_OMAP1
select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 depends on ISP1301_OMAP || !(MACH_OMAP_H2 || MACH_OMAP_H3)
help help
Many Texas Instruments OMAP processors have flexible full Many Texas Instruments OMAP processors have flexible full
speed USB device controllers, with support for up to 30 speed USB device controllers, with support for up to 30
......
...@@ -363,8 +363,6 @@ config USB_MAX3421_HCD ...@@ -363,8 +363,6 @@ config USB_MAX3421_HCD
config USB_OHCI_HCD config USB_OHCI_HCD
tristate "OHCI HCD (USB 1.1) support" tristate "OHCI HCD (USB 1.1) support"
select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
depends on USB_ISP1301 || !ARCH_LPC32XX
---help--- ---help---
The Open Host Controller Interface (OHCI) is a standard for accessing The Open Host Controller Interface (OHCI) is a standard for accessing
USB 1.1 host controller hardware. It does more in hardware than Intel's USB 1.1 host controller hardware. It does more in hardware than Intel's
...@@ -383,6 +381,7 @@ if USB_OHCI_HCD ...@@ -383,6 +381,7 @@ if USB_OHCI_HCD
config USB_OHCI_HCD_OMAP1 config USB_OHCI_HCD_OMAP1
tristate "OHCI support for OMAP1/2 chips" tristate "OHCI support for OMAP1/2 chips"
depends on ARCH_OMAP1 depends on ARCH_OMAP1
depends on ISP1301_OMAP || !(MACH_OMAP_H2 || MACH_OMAP_H3)
default y default y
---help--- ---help---
Enables support for the OHCI controller on OMAP1/2 chips. Enables support for the OHCI controller on OMAP1/2 chips.
...@@ -406,6 +405,7 @@ config USB_OHCI_HCD_S3C2410 ...@@ -406,6 +405,7 @@ config USB_OHCI_HCD_S3C2410
config USB_OHCI_HCD_LPC32XX config USB_OHCI_HCD_LPC32XX
tristate "Support for LPC on-chip OHCI USB controller" tristate "Support for LPC on-chip OHCI USB controller"
depends on USB_OHCI_HCD && ARCH_LPC32XX depends on USB_OHCI_HCD && ARCH_LPC32XX
depends on USB_ISP1301
default y default y
---help--- ---help---
Enables support for the on-chip OHCI controller on Enables support for the on-chip OHCI controller on
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment