aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/usb.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-03-07 10:45:32 +0100
committerFelix Fietkau <nbd@nbd.name>2017-03-07 11:37:50 +0100
commit0504cd22aa43b3af9f0a6a63f3904e06e6959bc4 (patch)
tree336f224916c48d867b7d9d31abd3a872f233a3bc /package/kernel/linux/modules/usb.mk
parentf2516e53c1678faa9a23d27aadf2c2d8c3370a51 (diff)
downloadupstream-0504cd22aa43b3af9f0a6a63f3904e06e6959bc4.tar.gz
upstream-0504cd22aa43b3af9f0a6a63f3904e06e6959bc4.tar.bz2
upstream-0504cd22aa43b3af9f0a6a63f3904e06e6959bc4.zip
ar71xx: fix build without CONFIG_NOP_USB_XCEIV (FS#593)
Open-code usb_phy_generic_register instead of calling it, since it is really trivial. Avoid pulling CONFIG_NOP_USB_XCEIV into the kernel config and add a proper dependency instead Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/kernel/linux/modules/usb.mk')
-rw-r--r--package/kernel/linux/modules/usb.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index d384e3076a..591ba0a081 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -1387,9 +1387,8 @@ $(eval $(call KernelPackage,usbip-server))
define KernelPackage/usb-chipidea
TITLE:=Host and device support for Chipidea controllers
- DEPENDS:=+USB_GADGET_SUPPORT:kmod-usb-gadget @TARGET_ar71xx +kmod-usb-ehci
+ DEPENDS:=+USB_GADGET_SUPPORT:kmod-usb-gadget @TARGET_ar71xx +kmod-usb-ehci +kmod-usb-phy-nop
KCONFIG:= \
- CONFIG_NOP_USB_XCEIV=y \
CONFIG_EXTCON \
CONFIG_USB_CHIPIDEA \
CONFIG_USB_CHIPIDEA_HOST=y \