summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/phy/Kconfig4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index 2f3ddc446cbb..93b8efc79227 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -45,10 +45,8 @@ config LED_TRIGGER_PHY
for any speed known to the PHY.
config PHYLIB_LEDS
- bool "Support probing LEDs from device tree"
+ def_bool OF
depends on LEDS_CLASS=y || LEDS_CLASS=PHYLIB
- depends on OF
- default y
help
When LED class support is enabled, phylib can automatically
probe LED setting from device tree.