Skip to content

leds/build: allow tristate for leds-syscon

Bevan Weiss linux-leds lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1leds/build: allow tristate for leds-syscondrivers/leds/Kconfig drivers/leds/leds-syscon.c+5 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] leds/build: allow tristate for leds-syscon

My first submission to a linux-kernel list, so apologies for any errors.

In OpenWrt one core kernel image is built for a particular subtarget, after which it's only modules that can be excluded from an rootfs image to reduce the space consumed. Unfortunately leds-syscon currently doesn't seem to allow for being compiled as a module where it could be excluded from an image. In my testing, it seemed relatively straight forward to enable this however.
I wouldn't anticipate issues for other systems, as they would still be able to request CONFIG_LEDS_SYSCON=y to get the current behaviour, identical to how they currently operate.

Bevan Weiss (1):
leds/build: allow tristate for leds-syscon

 drivers/leds/Kconfig       | 4 ++--
 drivers/leds/leds-syscon.c | 3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)
Signature · 1 line
2.43.0