usb: musb: omap2plus bus glue needs USB host support
authorArnd Bergmann <arnd@arndb.de>
Thu, 8 May 2014 13:52:16 +0000 (15:52 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 14 May 2014 14:23:32 +0000 (09:23 -0500)
The musb/omap2430.c bus glue driver calls usb_hcd_poll_rh_status,
which is only available if CONFIG_USB is also set, i.e. we
are building USB host mode and not just endpoint mode.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/Kconfig

index e0fba7591dea58db3d796239c3c1879ed96cfc5c..06cc5d6ea68157f6eb19e8f76e84d1a018e3a5e6 100644 (file)
@@ -76,7 +76,7 @@ config USB_MUSB_TUSB6010
 
 config USB_MUSB_OMAP2PLUS
        tristate "OMAP2430 and onwards"
-       depends on ARCH_OMAP2PLUS
+       depends on ARCH_OMAP2PLUS && USB
        select GENERIC_PHY
 
 config USB_MUSB_AM35X