Commit a7fb107b authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller

net: phy: Re-parent menus for MDIO bus drivers correctly

After 90eff909 ("net: phy: Allow splitting MDIO bus/device support
from PHYs") the various MDIO bus drivers were no longer parented with
config PHYLIB but with config MDIO_BUS which is not a menuconfig, fix
this by depending on MDIO_DEVICE which is a menuconfig.

This is visually nicer and less confusing for users.

Fixes: 90eff909 ("net: phy: Allow splitting MDIO bus/device support from PHYs")
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c8248c6c
...@@ -7,6 +7,8 @@ menuconfig MDIO_DEVICE ...@@ -7,6 +7,8 @@ menuconfig MDIO_DEVICE
help help
MDIO devices and driver infrastructure code. MDIO devices and driver infrastructure code.
if MDIO_DEVICE
config MDIO_BUS config MDIO_BUS
tristate tristate
default m if PHYLIB=m default m if PHYLIB=m
...@@ -179,6 +181,7 @@ config MDIO_XGENE ...@@ -179,6 +181,7 @@ config MDIO_XGENE
APM X-Gene SoC's. APM X-Gene SoC's.
endif endif
endif
config PHYLINK config PHYLINK
tristate tristate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment