From: Ansuel Smith Date: Fri, 31 Jan 2020 23:15:46 +0000 (+0100) Subject: modules: fix dwc3-qcom wrong condition X-Git-Tag: v21.02.0-rc1~3594 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=57432b964803d50889fb807b95367138bebce6fe;p=openwrt%2Fstaging%2Fchunkeey.git modules: fix dwc3-qcom wrong condition Since now we support both kernel 4.19 and 5.2, change the condition to remove driver when on kernel 4.14 Signed-off-by: Ansuel Smith --- diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index c803c98b2d..e833c139a0 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -496,7 +496,7 @@ $(eval $(call KernelPackage,usb-dwc3-of-simple)) define KernelPackage/usb-dwc3-qcom TITLE:=DWC3 Qualcomm USB driver - DEPENDS:=@!LINUX_4_14 @(TARGET_ipq40xx||TARGET_ipq806x) +kmod-usb-dwc3 + DEPENDS:=@(!LINUX_4_14) @(TARGET_ipq40xx||TARGET_ipq806x) +kmod-usb-dwc3 KCONFIG:= CONFIG_USB_DWC3_QCOM FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3-qcom.ko AUTOLOAD:=$(call AutoLoad,53,dwc3-qcom,1)