[PATCH 1/5] kernel: of-mdio: fix 5.15 fwnode_mdio dependency

Petr Štetiar ynezz at true.cz
Tue Apr 12 05:07:53 PDT 2022


Upstream in commit bc1bee3b87ee ("net: mdiobus: Introduce
fwnode_mdiobus_register_phy()") in version 5.14 introduced new
dependency:

 Package kmod-of-mdio is missing dependencies for the following libraries:

  fwnode_mdio.ko

Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 package/kernel/linux/modules/netdevices.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index fa1a9e8caa6c..6576b6bae212 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -1057,7 +1057,8 @@ define KernelPackage/of-mdio
   KCONFIG:=CONFIG_OF_MDIO
   FILES:= \
 	$(LINUX_DIR)/drivers/of/of_mdio.ko at lt5.10 \
-	$(LINUX_DIR)/drivers/net/mdio/of_mdio.ko at ge5.10
+	$(LINUX_DIR)/drivers/net/mdio/of_mdio.ko at ge5.10 \
+	$(LINUX_DIR)/drivers/net/mdio/fwnode_mdio.ko at ge5.15
   AUTOLOAD:=$(call AutoLoad,41,of_mdio)
 endef
 



More information about the openwrt-devel mailing list