aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-01-10 10:20:52 +0100
committerFelix Fietkau <nbd@nbd.name>2017-01-10 12:10:20 +0100
commit78de59f15aa4468c2c0c6e39627310895fe250aa (patch)
tree8b9036351b84c7a17bf45fde2d0230f32bf00e8b /package/kernel/linux/modules
parent29443e2c94ee977e5544e8fbd6ab06b753e3a35e (diff)
downloadupstream-78de59f15aa4468c2c0c6e39627310895fe250aa.tar.gz
upstream-78de59f15aa4468c2c0c6e39627310895fe250aa.tar.bz2
upstream-78de59f15aa4468c2c0c6e39627310895fe250aa.zip
kernel: fix dwc2 gadget dependency
Use USB_GADGET_SUPPORT feature flag instead of hardcoding the target list. Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r--package/kernel/linux/modules/usb.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 8af16ba9b3..1d71c02e30 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -518,7 +518,7 @@ $(eval $(call KernelPackage,usb2-pci))
define KernelPackage/usb-dwc2
TITLE:=DWC2 USB controller driver
- DEPENDS:=+(TARGET_brcm2708||TARGET_at91||TARGET_brcm63xx||TARGET_mxs||TARGET_imx6||TARGET_omap):kmod-usb-gadget
+ DEPENDS:=+USB_GADGET_SUPPORT:kmod-usb-gadget
KCONFIG:= \
CONFIG_USB_DWC2 \
CONFIG_USB_DWC2_PCI \