All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net] net: phy: Re-parent menus for MDIO bus drivers correctly
@ 2019-03-21 23:34 Florian Fainelli
  2019-03-24  1:16 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2019-03-21 23:34 UTC (permalink / raw)
  To: netdev
  Cc: Florian Fainelli, Andrew Lunn, Heiner Kallweit, David S. Miller,
	open list

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>
---
 drivers/net/phy/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

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
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net] net: phy: Re-parent menus for MDIO bus drivers correctly
  2019-03-21 23:34 [PATCH net] net: phy: Re-parent menus for MDIO bus drivers correctly Florian Fainelli
@ 2019-03-24  1:16 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2019-03-24  1:16 UTC (permalink / raw)
  To: f.fainelli; +Cc: netdev, andrew, hkallweit1, linux-kernel

From: Florian Fainelli <f.fainelli@gmail.com>
Date: Thu, 21 Mar 2019 16:34:44 -0700

> 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>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-24  1:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-21 23:34 [PATCH net] net: phy: Re-parent menus for MDIO bus drivers correctly Florian Fainelli
2019-03-24  1:16 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.