From: Ansuel Smith Date: Fri, 29 Nov 2019 16:24:14 +0000 (+0100) Subject: kernel: make dwc3 usb driver depends on kernel 4.14 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1698b36bb45e4e0fe7a6e21280ebeea227922beb;p=openwrt%2Fstaging%2Fblogic.git kernel: make dwc3 usb driver depends on kernel 4.14 - usb-dwc3-of-simple is not used anymore as we have qcom dedicated driver - usb-phy-qcom-dwc3 is not dependent of dwc3-of-simple Signed-off-by: Ansuel Smith --- diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 2a5f1d7d5fd7..a95528a17662 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -72,7 +72,7 @@ $(eval $(call KernelPackage,usb-phy-nop)) define KernelPackage/usb-phy-qcom-dwc3 TITLE:=DWC3 USB QCOM PHY driver - DEPENDS:=@(TARGET_ipq40xx||TARGET_ipq806x) +kmod-usb-dwc3-of-simple + DEPENDS:=@(TARGET_ipq40xx||TARGET_ipq806x) KCONFIG:= CONFIG_PHY_QCOM_DWC3 FILES:= \ $(LINUX_DIR)/drivers/phy/phy-qcom-dwc3.ko@lt4.13 \ @@ -480,7 +480,7 @@ $(eval $(call KernelPackage,usb-dwc3)) define KernelPackage/usb-dwc3-of-simple TITLE:=DWC3 USB simple OF driver - DEPENDS:=@!LINUX_4_19 @(TARGET_ipq40xx||TARGET_ipq806x) +kmod-usb-dwc3 + DEPENDS:=@LINUX_4_14 @(TARGET_ipq40xx||TARGET_ipq806x) +kmod-usb-dwc3 KCONFIG:= CONFIG_USB_DWC3_OF_SIMPLE FILES:= $(LINUX_DIR)/drivers/usb/dwc3/dwc3-of-simple.ko AUTOLOAD:=$(call AutoLoad,53,dwc3-of-simple,1)