mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 02:34:01 +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:
parent
9731ea0629
commit
64af7dc35f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user