pcs-xpcs: 6.12: fix missing dependency

Add missing depends kmod-mdio-devres.

Package kmod-pcs-xpcs is missing dependencies for the following libraries:
mdio_devres.ko

Ref: https://web.git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=f6bb3e9d98c2e8d70587d5ddaf9426ef30d7865c

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Mieczyslaw Nalewaj 2025-04-27 18:25:49 +02:00 committed by Christian Marangi
parent a2063ec986
commit d12962a6fa
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7

View file

@ -1867,7 +1867,7 @@ $(eval $(call KernelPackage,sfp))
define KernelPackage/pcs-xpcs define KernelPackage/pcs-xpcs
SUBMENU:=$(NETWORK_DEVICES_MENU) SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Synopsis DesignWare PCS driver TITLE:=Synopsis DesignWare PCS driver
DEPENDS:=@(TARGET_x86_64||TARGET_armsr) +kmod-phylink DEPENDS:=@(TARGET_x86_64||TARGET_armsr) +kmod-phylink +!LINUX_6_6:kmod-mdio-devres
KCONFIG:=CONFIG_PCS_XPCS KCONFIG:=CONFIG_PCS_XPCS
FILES:=$(LINUX_DIR)/drivers/net/pcs/pcs_xpcs.ko FILES:=$(LINUX_DIR)/drivers/net/pcs/pcs_xpcs.ko
AUTOLOAD:=$(call AutoLoad,20,pcs_xpcs) AUTOLOAD:=$(call AutoLoad,20,pcs_xpcs)