diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2021-03-17 00:48:24 -0700 |
---|---|---|
committer | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2021-03-19 14:02:47 +0000 |
commit | 66fd9acf5036bb721d0e33b1bc31a43dac0cdc2a (patch) | |
tree | 72191728e21bdb8731ef203acd79cc1d402d4470 /package/kernel/linux/modules/netdevices.mk | |
parent | 2a8ae3bf0a199b08f6a760d1d3b164356473facf (diff) | |
download | upstream-66fd9acf5036bb721d0e33b1bc31a43dac0cdc2a.tar.gz upstream-66fd9acf5036bb721d0e33b1bc31a43dac0cdc2a.tar.bz2 upstream-66fd9acf5036bb721d0e33b1bc31a43dac0cdc2a.zip |
kernel: 5.10: add missing dependency in kmod-mdio-devres
Add conditional dependency on kmod-of-mdio due to mdio_devres.c code:
#if IS_ENABLED(CONFIG_OF_MDIO)
...
EXPORT_SYMBOL(devm_of_mdiobus_register);
#endif /* CONFIG_OF_MDIO */
Fixes: 95a3741d17 ("kernel: support new mdio_devres.ko module in 5.10")
Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'package/kernel/linux/modules/netdevices.mk')
-rw-r--r-- | package/kernel/linux/modules/netdevices.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk index 7d8bb34131..c9bdeb5a57 100644 --- a/package/kernel/linux/modules/netdevices.mk +++ b/package/kernel/linux/modules/netdevices.mk @@ -141,7 +141,7 @@ $(eval $(call KernelPackage,mii)) define KernelPackage/mdio-devres SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=Supports MDIO device registration - DEPENDS:=@LINUX_5_10 +kmod-libphy + DEPENDS:=@LINUX_5_10 +kmod-libphy PACKAGE_kmod-of-mdio:kmod-of-mdio KCONFIG:=CONFIG_MDIO_DEVRES HIDDEN:=1 FILES:=$(LINUX_DIR)/drivers/net/phy/mdio_devres.ko |