diff options
author | Dan Murphy <dmurphy@ti.com> | 2020-07-13 10:45:32 -0500 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-07-15 19:33:16 +0200 |
commit | 10d3e0d815879129e916cd83e1034438e06efdaa (patch) | |
tree | b23071f011bac4e70b7a6ab565517cf0613407d0 | |
parent | 5c7f8ffe741daae7f8d811a2037b2693f02c90c5 (diff) | |
download | linux-10d3e0d815879129e916cd83e1034438e06efdaa.tar.bz2 |
leds: Add multicolor ID to the color ID list
Add a new color ID that is declared as MULTICOLOR as with the
multicolor framework declaring a definitive color is not accurate
as the node can contain multiple colors.
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Reviewed-by: Marek BehĂșn <marek.behun@nic.cz>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
-rw-r--r-- | drivers/leds/led-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/led-core.c b/drivers/leds/led-core.c index f1f718dbe0f8..846248a0693d 100644 --- a/drivers/leds/led-core.c +++ b/drivers/leds/led-core.c @@ -34,6 +34,7 @@ const char * const led_colors[LED_COLOR_ID_MAX] = { [LED_COLOR_ID_VIOLET] = "violet", [LED_COLOR_ID_YELLOW] = "yellow", [LED_COLOR_ID_IR] = "ir", + [LED_COLOR_ID_MULTI] = "multicolor", }; EXPORT_SYMBOL_GPL(led_colors); |