* [PATCH] phy: mdio-mux: fix Kconfig dependencies
@ 2019-03-04 20:35 Arnd Bergmann
2019-03-04 21:13 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2019-03-04 20:35 UTC (permalink / raw)
To: Andrew Lunn, Florian Fainelli, Heiner Kallweit, David S. Miller
Cc: Arnd Bergmann, Guenter Roeck, Pankaj Bansal, netdev, linux-kernel
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>
---
drivers/net/phy/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
--
2.20.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] phy: mdio-mux: fix Kconfig dependencies
2019-03-04 20:35 [PATCH] phy: mdio-mux: fix Kconfig dependencies Arnd Bergmann
@ 2019-03-04 21:13 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-03-04 21:13 UTC (permalink / raw)
To: arnd
Cc: andrew, f.fainelli, hkallweit1, linux, pankaj.bansal, netdev,
linux-kernel
From: Arnd Bergmann <arnd@arndb.de>
Date: Mon, 4 Mar 2019 21:35:10 +0100
> 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>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-03-04 21:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-04 20:35 [PATCH] phy: mdio-mux: fix Kconfig dependencies Arnd Bergmann
2019-03-04 21:13 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).