Commit 64af7dc3 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by David S. Miller

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: 7865ad65 ("drivers: net: phy: mdio-mux: Add support for Generic Mux controls")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 9731ea06
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment