From 4cc1bf6055a3b5838fe9c9ff0c2d30132254a7c5 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sun, 15 Mar 2015 14:19:14 +0000 Subject: [PATCH] modules: add depenency on usb-gadget for dwc2 also on brcm63xx Bcm63xx supports usb gadget, so dwc2 will default do dual mode. Signed-off-by: Jonas Gorski SVN-Revision: 44786 --- 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 57caeebc31..3de5f274f0 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -440,7 +440,7 @@ $(eval $(call KernelPackage,usb2-pci)) define KernelPackage/usb-dwc2 TITLE:=DWC2 USB controller driver - DEPENDS:=@!LINUX_3_8 @!LINUX_3_10 +(TARGET_brcm2708||TARGET_at91):kmod-usb-gadget + DEPENDS:=@!LINUX_3_8 @!LINUX_3_10 +(TARGET_brcm2708||TARGET_at91||TARGET_brcm63xx):kmod-usb-gadget KCONFIG:= \ CONFIG_USB_DWC2 \ CONFIG_USB_DWC2_PCI \ -- 2.30.2