]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
net: phy: remove Kconfig symbol MDIO_BUS
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 15 Mar 2026 16:50:00 +0000 (17:50 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 19 Mar 2026 01:27:12 +0000 (18:27 -0700)
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>
drivers/net/phy/Kconfig
drivers/net/phy/Makefile

index 7b73332a13d9520582fb45780528de4e17496f5e..b5ee338b620d53980fbec9e83ab0de3d96ab4cc9 100644 (file)
@@ -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
index 8d262b4e2be281696298bf24953ec3e24b27697a..05e4878af27abeae3dfd9ab18fd29f8bf788b2a4 100644 (file)
@@ -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