Skip to content

Commit

Permalink
kernel: 5.15: fix mediatek usb module change
Browse files Browse the repository at this point in the history
The mediatek USB kernel module xhci-mtk was restructed.
The module after kernel 5.13 is named xhci-mtk-hcd.
Link:
https://lore.kernel.org/all/0b62e21ddfacc1c2874726dd27ccab80c993f303.1615170625.git.chunfeng.yun@mediatek.com/
Linux 14295a150050 ("usb: xhci-mtk: support to build xhci-mtk-hcd.ko")

Signed-off-by: John Thomson <[email protected]>
  • Loading branch information
john-tho authored and nbd168 committed Mar 28, 2022
1 parent 3f8ea00 commit f65596e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package/kernel/linux/modules/usb.mk
Original file line number Diff line number Diff line change
Expand Up @@ -1787,8 +1787,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/[email protected] \
$(LINUX_DIR)/drivers/usb/host/[email protected]
AUTOLOAD:=$(call AutoLoad,54,[email protected] [email protected],1)
$(call AddDepends/usb)
endef

Expand Down

0 comments on commit f65596e

Please sign in to comment.