diff options
author | Arnd Bergmann <arnd@arndb.de> | 2019-03-04 21:35:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-04 22:12:48 +0100 |
commit | 64af7dc35f0fc8d3435327c44ef50359bdbe2c67 (patch) | |
tree | 6060e2deb2c22cc4da020c90b8d96b9d2760b4f5 /drivers | |
parent | net: phy: use phy_modify_mmd_changed in genphy_c45_an_config_aneg (diff) | |
download | linux-64af7dc35f0fc8d3435327c44ef50359bdbe2c67.tar.xz linux-64af7dc35f0fc8d3435327c44ef50359bdbe2c67.zip |
phy: mdio-mux: fix Kconfig dependencies
MDIO_BUS_MUX can only be selected if OF_MDIO is already turned on:
WARNING: unmet direct dependencies detected for MDIO_BUS_MUX
Depends on [n]: NETDEVICES [=y] && MDIO_BUS [=m] && OF_MDIO [=n]
Selected by [m]:
- MDIO_BUS_MUX_MULTIPLEXER [=m] && NETDEVICES [=y] && MDIO_BUS [=m] && OF [=y]
Fixes: 7865ad6551c9 ("drivers: net: phy: mdio-mux: Add support for Generic Mux controls")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/phy/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 7f66af446ec7..071869db44cf 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -89,7 +89,7 @@ config MDIO_BUS_MUX_MMIOREG config MDIO_BUS_MUX_MULTIPLEXER tristate "MDIO bus multiplexer using kernel multiplexer subsystem" - depends on OF + depends on OF_MDIO select MULTIPLEXER select MDIO_BUS_MUX help |