]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
leds: Do not enable by default during compile testing
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 17 Apr 2025 07:46:56 +0000 (09:46 +0200)
committerLee Jones <lee@kernel.org>
Wed, 14 May 2025 08:24:58 +0000 (09:24 +0100)
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>
drivers/leds/Kconfig

index a104cbb0a0019a0510f7e33b4e70e13083efb390..b107dbe1fa90476f8fadee9c5ea14b8a4db81859 100644 (file)
@@ -735,7 +735,7 @@ config LEDS_NS2
        tristate "LED support for Network Space v2 GPIO LEDs"
        depends on LEDS_CLASS
        depends on MACH_KIRKWOOD || MACH_ARMADA_370 || COMPILE_TEST
-       default y
+       default y if MACH_KIRKWOOD || MACH_ARMADA_370
        help
          This option enables support for the dual-GPIO LEDs found on the
          following LaCie/Seagate boards:
@@ -750,7 +750,7 @@ config LEDS_NETXBIG
        depends on LEDS_CLASS
        depends on MACH_KIRKWOOD || COMPILE_TEST
        depends on OF_GPIO
-       default y
+       default MACH_KIRKWOOD
        help
          This option enables support for LEDs found on the LaCie 2Big
          and 5Big Network v2 boards. The LEDs are wired to a CPLD and are