kernel: of-mdio: fix 5.15 fwnode_mdio dependency
authorPetr Štetiar <ynezz@true.cz>
Mon, 11 Apr 2022 11:45:33 +0000 (13:45 +0200)
committerPetr Štetiar <ynezz@true.cz>
Fri, 15 Apr 2022 05:11:18 +0000 (07:11 +0200)
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@true.cz>
package/kernel/linux/modules/netdevices.mk

index fa1a9e8caa6c632e48a3756a3d636bcf1987b6db..6576b6bae21277dbcd43432a802e30da73ce25b8 100644 (file)
@@ -1057,7 +1057,8 @@ define KernelPackage/of-mdio
   KCONFIG:=CONFIG_OF_MDIO
   FILES:= \
        $(LINUX_DIR)/drivers/of/of_mdio.ko@lt5.10 \
-       $(LINUX_DIR)/drivers/net/mdio/of_mdio.ko@ge5.10
+       $(LINUX_DIR)/drivers/net/mdio/of_mdio.ko@ge5.10 \
+       $(LINUX_DIR)/drivers/net/mdio/fwnode_mdio.ko@ge5.15
   AUTOLOAD:=$(call AutoLoad,41,of_mdio)
 endef