OSDN Git Service

leds: simatic-ipc-leds: default config switch to platform switch
authorHenning Schild <henning.schild@siemens.com>
Wed, 19 Jul 2023 15:35:17 +0000 (17:35 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 31 Jul 2023 10:35:16 +0000 (12:35 +0200)
If a user did choose to enable Siemens Simatic platform support they
likely want the LED drivers to be enabled without having to flip more
config switches. So we make the LED drivers config switch default to
the platform driver switches value.

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230719153518.13073-3-henning.schild@siemens.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/leds/simple/Kconfig

index 44fa0f9..609e438 100644 (file)
@@ -2,6 +2,7 @@
 config LEDS_SIEMENS_SIMATIC_IPC
        tristate "LED driver for Siemens Simatic IPCs"
        depends on SIEMENS_SIMATIC_IPC
+       default y
        help
          This option enables support for the LEDs of several Industrial PCs
          from Siemens.