Add LED dependency for LED_ACTIVITY and LED_BOOT.

Signed-off-by: Patrice Chotard <[email protected]>
Cc: Yegor Yefremov <[email protected]>

---

 drivers/led/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/led/Kconfig b/drivers/led/Kconfig
index c98cbf92fab..7ff5cefd29d 100644
--- a/drivers/led/Kconfig
+++ b/drivers/led/Kconfig
@@ -11,6 +11,7 @@ config LED
 
 config LED_BOOT
        bool "Enable LED boot support"
+       depends on LED
        help
          Enable LED boot support.
 
@@ -22,6 +23,7 @@ config LED_BOOT
 
 config LED_ACTIVITY
        bool "Enable LED activity support"
+       depends on LED
        help
          Enable LED activity support.
 
-- 
2.43.0

Reply via email to