From 1e337a84de3f5a615d8bc2cdb3614df61cf179a1 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 6 Aug 2022 00:04:43 +0200 Subject: [PATCH] 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 --- 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) -- 2.30.2