USB: ehci-msm: USB_MSM_OTG needs USB_PHY
authorArnd Bergmann <arnd@arndb.de>
Thu, 25 Apr 2013 17:29:01 +0000 (19:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2013 18:00:25 +0000 (11:00 -0700)
commit4626b8daf9bb00ce6b4d533c1a155211ad880f32
tree11a622d1907bedbc88761c48af640ad0a57c5b59
parent8097804eab55d2dcfadfc821bceeb0faad978ab3
USB: ehci-msm: USB_MSM_OTG needs USB_PHY

The Kconfig entry for USB_EHCI_MSM unconditionally selects USB_MSM_OTG,
which is now only visible when USB_PHY is also enabled.

This adds an appropriate dependency and enables USB_PHY in the msm
defconfig, avoiding the Kbuild warning:

warning: (USB_EHCI_MSM) selects USB_MSM_OTG which has unmet direct dependencies (USB_SUPPORT && USB_PHY && (USB || USB_GADGET) && ARCH_MSM)

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Pavankumar Kondeti <pkondeti@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/Kconfig