From: Hauke Mehrtens Date: Fri, 5 Aug 2022 22:04:43 +0000 (+0200) Subject: kernel: kmod-switch-ar8xxx: Add kmod-mdio-devres dependency X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1e337a84de3f5a615d8bc2cdb3614df61cf179a1;p=openwrt%2Fstaging%2Frmilecki.git 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 --- diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index bb4e1ab5cd3..7e21c0118c4 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)