Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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