summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2026-03-15 17:50:00 +0100
committerJakub Kicinski <kuba@kernel.org>2026-03-18 18:27:12 -0700
commit91283bd5b008d5cd2b6a24f246ffb3e706b8c981 (patch)
tree48fd26a94e7651d946789d4c57fe6cbec766c4f0
parente611a97032f0fa484d14656acf4a330448bf21a3 (diff)
net: phy: remove Kconfig symbol MDIO_BUS
After usage of config symbol MDIO_BUS has been removed from REGMAP_MIO as last user, the symbol can be removed. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Link: https://patch.msgid.link/9cdf83e9-470d-45da-8efe-ace0decf0204@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r--drivers/net/phy/Kconfig6
-rw-r--r--drivers/net/phy/Makefile2
2 files changed, 1 insertions, 7 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 7b73332a13d9..b5ee338b620d 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -3,11 +3,6 @@
# PHY Layer Configuration
#
-config MDIO_BUS
- tristate "MDIO bus consumer layer"
- help
- MDIO bus consumer layer
-
config PHYLINK
tristate
select PHYLIB
@@ -19,7 +14,6 @@ config PHYLINK
menuconfig PHYLIB
tristate "PHY Device support and infrastructure"
- select MDIO_BUS
help
Ethernet controllers are usually attached to PHY
devices. This option provides infrastructure for
diff --git a/drivers/net/phy/Makefile b/drivers/net/phy/Makefile
index 8d262b4e2be2..05e4878af27a 100644
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
@@ -15,7 +15,7 @@ libphy-$(CONFIG_SWPHY) += swphy.o
libphy-$(CONFIG_LED_TRIGGER_PHY) += phy_led_triggers.o
libphy-$(CONFIG_OPEN_ALLIANCE_HELPERS) += open_alliance_helpers.o
-obj-$(CONFIG_MDIO_BUS) += mdio_bus.o
+obj-$(CONFIG_PHYLIB) += mdio_bus.o
obj-$(CONFIG_PHYLINK) += phylink.o
obj-$(CONFIG_PHYLIB) += libphy.o
obj-$(CONFIG_PHYLIB) += mdio_devres.o