diff options
author | 2017-03-24 14:57:22 -0700 | |
---|---|---|
committer | 2017-03-24 15:03:06 -0700 | |
commit | 68e498554f598d8a6596c85bb661e9a68cafd673 (patch) | |
tree | 3fbc2dc610c29b4c2df2f3aa93440c19143ce859 /drivers/net/dsa/Kconfig | |
parent | Merge branch 'ipv6-sr-perf-improvements' (diff) | |
download | linux-68e498554f598d8a6596c85bb661e9a68cafd673.tar.gz linux-68e498554f598d8a6596c85bb661e9a68cafd673.tar.bz2 linux-68e498554f598d8a6596c85bb661e9a68cafd673.zip |
net: dsa: bcm_sf2: Add missing OF_MDIO dependency
bcm_sf2 does require the MDIO_BCM_UNIMAC driver which is now dependent
on OF_MDIO but also internally uses of_mdio.c provided routines which
are guarted with OF_MDIO.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: 90eff9096c01 ("net: phy: Allow splitting MDIO bus/device support from PHYs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/Kconfig')
-rw-r--r-- | drivers/net/dsa/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/Kconfig b/drivers/net/dsa/Kconfig index 065984670ff1..564b267c8428 100644 --- a/drivers/net/dsa/Kconfig +++ b/drivers/net/dsa/Kconfig @@ -11,7 +11,7 @@ config NET_DSA_MV88E6060 config NET_DSA_BCM_SF2 tristate "Broadcom Starfighter 2 Ethernet switch support" - depends on HAS_IOMEM && NET_DSA + depends on HAS_IOMEM && NET_DSA && OF_MDIO select NET_DSA_TAG_BRCM select FIXED_PHY select BCM7XXX_PHY |