aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/usb.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/linux/modules/usb.mk')
-rw-r--r--package/kernel/linux/modules/usb.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk
index 598ba4a97a..a238572d75 100644
--- a/package/kernel/linux/modules/usb.mk
+++ b/package/kernel/linux/modules/usb.mk
@@ -486,11 +486,9 @@ define KernelPackage/usb-dwc2
CONFIG_USB_DWC2_TRACK_MISSED_SOFS=n \
CONFIG_USB_DWC2_DEBUG_PERIODIC=n
FILES:= \
- $(LINUX_DIR)/drivers/usb/dwc2/dwc2.ko
- ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/dwc2/dwc2_platform.ko),)
- FILES+=$(LINUX_DIR)/drivers/usb/dwc2/dwc2_platform.ko
- endif
- AUTOLOAD:=$(call AutoLoad,54,dwc2 dwc2_platform,1)
+ $(LINUX_DIR)/drivers/usb/dwc2/dwc2.ko \
+ $(LINUX_DIR)/drivers/usb/dwc2/dwc2_platform.ko@lt4.3
+ AUTOLOAD:=$(call AutoLoad,54,dwc2 dwc2_platform@lt4.3,1)
$(call AddDepends/usb)
endef