diff options
| author | Gwendal Grignou <gwendal@chromium.org> | 2026-01-30 00:13:50 -0800 |
|---|---|---|
| committer | Tzung-Bi Shih <tzungbi@kernel.org> | 2026-01-30 08:29:52 +0000 |
| commit | 2d8251d98ce0be96d79aec708aa70cab2b4f6f17 (patch) | |
| tree | 136ea0ac9ec176cccc2b48b5d133e3a1524785d3 /include/linux/moduleloader.h | |
| parent | ec0dd36dbf8b0b209e63d0cd795451fa2203c736 (diff) | |
platform/chrome: lightbar: Report number of segments
Add attribue `num_segments` to return the number of exposed LED segments
in the lightbar. It can be smaller than the number of physical leds in
the lightbar.
Test: Check the attribute is present and returns a value when read.
Signed-off-by: Gwendal Grignou <gwendal@google.com>
Link: https://lore.kernel.org/r/20260130081351.487517-1-gwendal@google.com
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'include/linux/moduleloader.h')
0 files changed, 0 insertions, 0 deletions
