diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-03-21 16:34:44 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-23 20:55:21 -0400 |
commit | a7fb107b7d8982ac76c958a0d2838a151b03e97e (patch) | |
tree | 71e651384d9083abdac8599a8ed80ce5e6b0656e /drivers | |
parent | c8248c6c1a3d5db944753dd8e1c143d92c2c74fc (diff) | |
download | linux-stable-a7fb107b7d8982ac76c958a0d2838a151b03e97e.tar.gz linux-stable-a7fb107b7d8982ac76c958a0d2838a151b03e97e.tar.bz2 linux-stable-a7fb107b7d8982ac76c958a0d2838a151b03e97e.zip |
net: phy: Re-parent menus for MDIO bus drivers correctly
After 90eff9096c01 ("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: 90eff9096c01 ("net: phy: Allow splitting MDIO bus/device support from PHYs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/phy/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 071869db44cf..520657945b82 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -7,6 +7,8 @@ menuconfig MDIO_DEVICE help MDIO devices and driver infrastructure code. +if MDIO_DEVICE + config MDIO_BUS tristate default m if PHYLIB=m @@ -179,6 +181,7 @@ config MDIO_XGENE APM X-Gene SoC's. endif +endif config PHYLINK tristate |