[openwrt/openwrt] kernel: kmod-switch-ar8xxx: Add kmod-mdio-devres dependency

LEDE Commits lede-commits at lists.infradead.org
Wed Aug 10 15:51:57 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1e337a84de3f5a615d8bc2cdb3614df61cf179a1

commit 1e337a84de3f5a615d8bc2cdb3614df61cf179a1
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Aug 6 00:04:43 2022 +0200

    kernel: kmod-switch-ar8xxx: Add kmod-mdio-devres dependency
    
    The ar8xxx.ko kernel module uses the devm_mdiobus_alloc() function
    provided by kmod-mdio-devres, add the missing dependency.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/netdevices.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index bb4e1ab5cd..7e21c0118c 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -434,7 +434,7 @@ $(eval $(call KernelPackage,switch-rtl8367b))
 define KernelPackage/switch-ar8xxx
   SUBMENU:=$(NETWORK_DEVICES_MENU)
   TITLE:=Atheros AR8216/8327 switch support
-  DEPENDS:=+kmod-swconfig
+  DEPENDS:=+kmod-swconfig +kmod-mdio-devres
   KCONFIG:=CONFIG_AR8216_PHY
   FILES:=$(LINUX_DIR)/drivers/net/phy/ar8xxx.ko
   AUTOLOAD:=$(call AutoLoad,43,ar8xxx,1)




More information about the lede-commits mailing list