aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-06-10 22:00:02 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-06-10 22:04:27 +0200
commit83483ba787e5c972099da1e983e95f396961c7f2 (patch)
treed5cace060e97191671cad674de7dea1fbfaa07a0 /package/kernel/linux/modules
parentf60301db748a8a40f42a6dc4faa7250529cb6cc6 (diff)
downloadupstream-83483ba787e5c972099da1e983e95f396961c7f2.tar.gz
upstream-83483ba787e5c972099da1e983e95f396961c7f2.tar.bz2
upstream-83483ba787e5c972099da1e983e95f396961c7f2.zip
kernel/modules: fix kmod-mdio-gpio module dependencies
On some targets this module depends on kmod-of-mdio. This is similar to the fixes done in: dc629d9cf5a ("kernel: fix kmod-switch-rtl8366-smi dependency") 56bd23cf529 ("kernel: let kmod-rtl8366-smi conditionally depend on kmod-of-mdio") Fixes: 32f32398af976e ("kernel/modules: add kmod-mdio-gpio module") Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r--package/kernel/linux/modules/netdevices.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index aa28c8e7b9..647b1894fe 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -113,7 +113,7 @@ $(eval $(call KernelPackage,mii))
define KernelPackage/mdio-gpio
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:= Supports GPIO lib-based MDIO busses
- DEPENDS:=+kmod-libphy @GPIO_SUPPORT
+ DEPENDS:=+kmod-libphy @GPIO_SUPPORT +(TARGET_armvirt||TARGET_brcm2708_bcm2708):kmod-of-mdio
KCONFIG:= \
CONFIG_MDIO_BITBANG \
CONFIG_MDIO_GPIO