net: phy: Re-parent menus for MDIO bus drivers correctly
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 21 Mar 2019 23:34:44 +0000 (16:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Mar 2019 00:55:21 +0000 (20:55 -0400)
commita7fb107b7d8982ac76c958a0d2838a151b03e97e
tree71e651384d9083abdac8599a8ed80ce5e6b0656e
parentc8248c6c1a3d5db944753dd8e1c143d92c2c74fc
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>
drivers/net/phy/Kconfig