Przeglądaj źródła

usb: musb: omap2plus bus glue needs USB host support

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>
Arnd Bergmann 11 lat temu
rodzic
commit
a8d191c8bb
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      drivers/usb/musb/Kconfig

+ 1 - 1
drivers/usb/musb/Kconfig

@@ -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