From 9c6e3687b763497f86f14d0df9daf85f04ea9f60 Mon Sep 17 00:00:00 2001 From: Imre Kaloz Date: Sun, 9 Feb 2014 14:24:28 +0000 Subject: [PATCH] [usb]: musb depends on usb-gadget support Signed-off-by: Imre Kaloz git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39550 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/linux/modules/usb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 15133a81c2..5ece8ff322 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -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)