2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-19 10:44:14 +08:00

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: 7865ad6551 ("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>
This commit is contained in:
Arnd Bergmann 2019-03-04 21:35:10 +01:00 committed by David S. Miller
parent 9731ea0629
commit 64af7dc35f

View File

@ -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