From 3edd9ac98b7bd7c9c970d67155f0d730def012f8 Mon Sep 17 00:00:00 2001 From: Russell King Date: Fri, 31 Jan 2020 15:45:13 +0000 Subject: net: sfp: clean up sfp-bus building Use a Kconfig symbol to control the build of sfp-bus.c Signed-off-by: Russell King --- drivers/net/phy/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/net/phy/Kconfig') diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig index 698bea312adc..c76d546ab151 100644 --- a/drivers/net/phy/Kconfig +++ b/drivers/net/phy/Kconfig @@ -55,11 +55,15 @@ config FIXED_PHY Currently tested with mpc866ads and mpc8349e-mitx. +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 comment "MII PHY device drivers" -- cgit