]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel: modules: update dependency for kmod-usb-xhci-pci-renesas
authorShiji Yang <yangshiji66@outlook.com>
Sat, 10 May 2025 02:59:33 +0000 (10:59 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 17 May 2025 18:14:27 +0000 (20:14 +0200)
Now kmod-usb-xhci-pci-renesas is depend on kmod-usb3 on both
6.6 and 6.12 kernels. Also remove the hidden flag so that users
can select it from menuconfig. Fix the following error:

Package kmod-usb-xhci-pci-renesas is missing dependencies for the following libraries:
xhci-pci.ko

Link: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=25f51b76f90f10f9bf2fbc05fc51cf685da7ccad
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/18768
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/kernel/linux/modules/usb.mk

index 630f52b57b4cbe032c1f119d3d57db5687a87892..ca3e445ce2691085408fa2a36214f01e839849d8 100644 (file)
@@ -1807,10 +1807,7 @@ define KernelPackage/usb3
        +TARGET_bcm53xx:kmod-usb-bcma \
        +TARGET_bcm53xx:kmod-phy-bcm-ns-usb3 \
        +TARGET_ramips_mt7621:kmod-usb-xhci-mtk \
-       +TARGET_mediatek:kmod-usb-xhci-mtk \
-       +TARGET_apm821xx_nand:kmod-usb-xhci-pci-renesas \
-       +TARGET_lantiq_xrx200:kmod-usb-xhci-pci-renesas \
-       +TARGET_mvebu_cortexa9:kmod-usb-xhci-pci-renesas
+       +TARGET_mediatek:kmod-usb-xhci-mtk
   KCONFIG:= \
        CONFIG_USB_PCI=y \
        CONFIG_USB_XHCI_PCI \
@@ -1897,8 +1894,8 @@ $(eval $(call KernelPackage,usb-xhci-mtk))
 
 define KernelPackage/usb-xhci-pci-renesas
   TITLE:=Support for additional Renesas xHCI controller with firmware
+  DEPENDS:=+kmod-usb3
   KCONFIG:=CONFIG_USB_XHCI_PCI_RENESAS
-  HIDDEN:=1
   FILES:=$(LINUX_DIR)/drivers/usb/host/xhci-pci-renesas.ko
   AUTOLOAD:=$(call AutoLoad,54,xhci-pci-renesas,1)
   $(call AddDepends/usb)