Skip to contentSkip to conversation

net: phy: move config symbol MDIO_BUS to drivers/net/phy/Kconfig

PATCH Applied Heiner Kallweit 2 participants 2 messages Sep 20, 2025 – Sep 24, 2025

Subsystems (3)
lore
Share & tools
lore

Heiner Kallweit

author maintainer
#0 lore raw

PATCH 1/1 net: phy: move config symbol MDIO_BUS to drivers/net/phy/Kconfig

Config symbol MDIO_BUS isn't used in drivers/net/mdio. It's only used in drivers/net/phy. So move it there.

---
 drivers/net/mdio/Kconfig | 5 -----
 drivers/net/phy/Kconfig  | 5 +++++
 2 files changed, 5 insertions(+), 5 deletions(-)
drivers/net/mdio/Kconfig +0 -5
index e1e32b687..443803789 100644
@@ -3,11 +3,6 @@
 # MDIO Layer Configuration
 #
 
-config MDIO_BUS
-	tristate "MDIO bus consumer layer"
-	help
-	  MDIO bus consumer layer
-
 if PHYLIB
 
 config FWNODE_MDIO
drivers/net/phy/Kconfig +5 -0
index ca05166ae..98700d069 100644
@@ -3,6 +3,11 @@
 # PHY Layer Configuration
 #
 
+config MDIO_BUS
+	tristate "MDIO bus consumer layer"
+	help
+	  MDIO bus consumer layer
+
 config PHYLINK
 	tristate
 	select PHYLIB
Signature · 1 line
2.51.0
#1 lore raw
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 8 lines · On Sat, 20 Sep 2025 23:11:54 +0200 you wrote:

Config symbol MDIO_BUS isn't used in drivers/net/mdio. It's only used in drivers/net/phy. So move it there.

---
 drivers/net/mdio/Kconfig | 5 -----
 drivers/net/phy/Kconfig  | 5 +++++
 2 files changed, 5 insertions(+), 5 deletions(-)

Here is the summary with links:
- [net-next] net: phy: move config symbol MDIO_BUS to drivers/net/phy/Kconfig

    https://git.kernel.org/netdev/net-next/c/7e554f317be8

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html