public inbox for linux-leds@vger.kernel.org
 help / color / mirror / Atom feed
From: Bevan Weiss <bevan.weiss@gmail.com>
To: lee@kernel.org, pavel@kernel.org, linux-leds@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Bevan Weiss <bevan.weiss@gmail.com>
Subject: [PATCH 0/1] leds/build: allow tristate for leds-syscon
Date: Mon,  2 Mar 2026 17:26:45 +1100	[thread overview]
Message-ID: <20260302062646.938576-1-bevan.weiss@gmail.com> (raw)

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


             reply	other threads:[~2026-03-02  6:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-02  6:26 Bevan Weiss [this message]
2026-03-02  6:26 ` [PATCH 1/1] leds/build: allow tristate for leds-syscon Bevan Weiss
2026-03-04 10:49 ` [PATCH 0/1] " Bevan Weiss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260302062646.938576-1-bevan.weiss@gmail.com \
    --to=bevan.weiss@gmail.com \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=pavel@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox