kernel: 5.15: fix mediatek usb module change

This commit is contained in:
coolsnowwolf 2022-11-03 16:34:11 +08:00
parent 44d01897be
commit cbaa0134cd

View File

@ -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