phy: mdio-mux: fix Kconfig dependencies
Subsystems (3)
PATCH 1/1 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 <[email protected]>
--- drivers/net/phy/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/Kconfig +1 -1
@@ -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
Signature · 1 line
2.20.0
From: Arnd Bergmann <[email protected]>
Date: Mon, 4 Mar 2019 21:35:10 +0100
Quoted 9 lines
MDIO_BUS_MUXcan only be selected ifOF_MDIOis 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 <[email protected]>
Applied.