USB: OMAP: ISP1301 needs USB_PHY
authorArnd Bergmann <arnd@arndb.de>
Thu, 25 Apr 2013 17:29:03 +0000 (19:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2013 17:58:00 +0000 (10:58 -0700)
commitc3c683ead3c53c0eb67b72c54e130baf45ac25d2
tree24bb1c56f3615166872630adc03f8727bd90f178
parent64e98a7981fbf31ea955d9cec3b6ac52717c6f8a
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>
arch/arm/configs/omap1_defconfig
drivers/usb/gadget/Kconfig
drivers/usb/phy/Makefile