aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Kconfig
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2013-04-25 13:29:03 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-25 13:58:00 -0400
commitc3c683ead3c53c0eb67b72c54e130baf45ac25d2 (patch)
tree24bb1c56f3615166872630adc03f8727bd90f178 /drivers/usb/gadget/Kconfig
parent64e98a7981fbf31ea955d9cec3b6ac52717c6f8a (diff)
USB: OMAP: ISP1301 needs USB_PHY
The Kconfig entry for USB_OMAP unconditionally selects USB_ISP1301, which is now only visible when USB_PHY is also enabled. This adds an appropriate dependency and enables USB_PHY in the omap1 defconfig, avoiding these build warnings: warning: (USB_OHCI_HCD && USB_OMAP) selects ISP1301_OMAP which has unmet direct dependencies (USB_SUPPORT && USB_PHY && I2C && ARCH_OMAP_OTG) Also fix a Makefile typo while we're at it. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r--drivers/usb/gadget/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index f85b427f4c92..83300d94a893 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -196,6 +196,7 @@ config USB_FUSB300
196config USB_OMAP 196config USB_OMAP
197 tristate "OMAP USB Device Controller" 197 tristate "OMAP USB Device Controller"
198 depends on ARCH_OMAP1 198 depends on ARCH_OMAP1
199 depends on USB_PHY
199 select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_H4_OTG 200 select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 || MACH_OMAP_H4_OTG
200 help 201 help
201 Many Texas Instruments OMAP processors have flexible full 202 Many Texas Instruments OMAP processors have flexible full