musb depends on usb-gadget support
authorImre Kaloz <kaloz@openwrt.org>
Sun, 9 Feb 2014 14:24:28 +0000 (14:24 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Sun, 9 Feb 2014 14:24:28 +0000 (14:24 +0000)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 39550

package/kernel/linux/modules/usb.mk

index 15133a81c2508f711ea0267447e3819ebca2af13..5ece8ff3225ebdcb704964c907f9b14509034539 100644 (file)
@@ -47,7 +47,7 @@ define KernelPackage/musb-hdrc
        CONFIG_USB_MUSB_GADGET=n \
        CONFIG_USB_MUSB_HOST=n \
        CONFIG_USB_MUSB_DEBUG=y
-  DEPENDS:=@(TARGET_omap||TARGET_omap24xx)
+  DEPENDS:=@(TARGET_omap||TARGET_omap24xx) +kmod-usb-gadget
   FILES:=$(LINUX_DIR)/drivers/usb/musb/musb_hdrc.ko
   AUTOLOAD:=$(call AutoLoad,46,musb_hdrc)
   $(call AddDepends/usb)