1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 21:48:23 +02:00

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@hauke-m.de>
This commit is contained in:
Hauke Mehrtens 2022-08-06 00:04:43 +02:00
parent 42db0ee13b
commit 1e337a84de

@ -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)