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

Bevan Weiss posted 1 patch 1 month, 2 weeks ago
drivers/leds/Kconfig       | 4 ++--
drivers/leds/leds-syscon.c | 3 +++
2 files changed, 5 insertions(+), 2 deletions(-)
[PATCH 0/1] leds/build: allow tristate for leds-syscon
Posted by Bevan Weiss 1 month, 2 weeks ago
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(-)

-- 
2.43.0
Re: [PATCH 0/1] leds/build: allow tristate for leds-syscon
Posted by Bevan Weiss 1 month, 1 week ago
On Mon,  2 Mar 2026 17:26:45 +1100
Bevan Weiss <bevan.weiss@gmail.com> wrote:

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

Sorry all, please ignore this patch.
I'll review, and send a V2 once I sort out some of the issues here. 


Regards,
Bevan Weiss