From cbaa0134cd8eb1bb45a71dbfe75c1c944381698a Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Thu, 3 Nov 2022 16:34:11 +0800 Subject: [PATCH] kernel: 5.15: fix mediatek usb module change --- package/kernel/linux/modules/usb.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 0116350b9..4a686d1dd 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -1772,8 +1772,10 @@ define KernelPackage/usb-xhci-mtk DEPENDS:=+kmod-usb-xhci-hcd KCONFIG:=CONFIG_USB_XHCI_MTK HIDDEN:=1 - FILES:=$(LINUX_DIR)/drivers/usb/host/xhci-mtk.ko - AUTOLOAD:=$(call AutoLoad,54,xhci-mtk,1) + FILES:= \ + $(LINUX_DIR)/drivers/usb/host/xhci-mtk.ko@lt5.13 \ + $(LINUX_DIR)/drivers/usb/host/xhci-mtk-hcd.ko@ge5.13 + AUTOLOAD:=$(call AutoLoad,54,xhci-mtk@lt5.13 xhci-mtk-hcd@gt5.13,1) $(call AddDepends/usb) endef