summaryrefslogtreecommitdiff
path: root/drivers/net/phy/Kconfig
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2020-01-31 15:45:13 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2020-05-23 13:11:49 +0100
commitab2d7899378e40e5782cad5302d9a6713a48970e (patch)
treec516179b477f66427d92c60e805e913148ce70eb /drivers/net/phy/Kconfig
parent118ddf388a61ef480ac9a2b464e85abf236f0c60 (diff)
net: sfp: clean up sfp-bus building
Use a Kconfig symbol to control the build of sfp-bus.c Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'drivers/net/phy/Kconfig')
-rw-r--r--drivers/net/phy/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index edb1cb8a228e..c0492b8baa8d 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -252,11 +252,15 @@ config LED_TRIGGER_PHY
comment "MII PHY device drivers"
+config SFP_BUS
+ bool
+
config SFP
tristate "SFP cage support"
depends on I2C && PHYLINK
depends on HWMON || HWMON=n
select MDIO_I2C
+ select SFP_BUS
config ADIN_PHY
tristate "Analog Devices Industrial Ethernet PHYs"