From 798916442d96d1128abd7c5829f11faed0e22c04 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 57caeebc31d8..3de5f274f0e2 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