Skip to content

Commit 4c6c3ca

Browse files
krzklag-linaro
authored andcommitted
leds: Do not enable by default during compile testing
Enabling the compile test should not cause automatic enabling of all drivers, but only allow to choose to compile them. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20250417074656.81626-1-krzysztof.kozlowski@linaro.org Signed-off-by: Lee Jones <lee@kernel.org>
1 parent f9a2eac commit 4c6c3ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/leds/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ config LEDS_NS2
735735
tristate "LED support for Network Space v2 GPIO LEDs"
736736
depends on LEDS_CLASS
737737
depends on MACH_KIRKWOOD || MACH_ARMADA_370 || COMPILE_TEST
738-
default y
738+
default y if MACH_KIRKWOOD || MACH_ARMADA_370
739739
help
740740
This option enables support for the dual-GPIO LEDs found on the
741741
following LaCie/Seagate boards:
@@ -750,7 +750,7 @@ config LEDS_NETXBIG
750750
depends on LEDS_CLASS
751751
depends on MACH_KIRKWOOD || COMPILE_TEST
752752
depends on OF_GPIO
753-
default y
753+
default MACH_KIRKWOOD
754754
help
755755
This option enables support for LEDs found on the LaCie 2Big
756756
and 5Big Network v2 boards. The LEDs are wired to a CPLD and are

0 commit comments

Comments
 (0)