From: Dan Murphy Date: Mon, 13 Jul 2020 15:45:32 +0000 (-0500) Subject: leds: Add multicolor ID to the color ID list X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=10d3e0d815879129e916cd83e1034438e06efdaa;p=linux.git 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 Reviewed-by: Marek BehĂșn Signed-off-by: Pavel Machek --- diff --git a/drivers/leds/led-core.c b/drivers/leds/led-core.c index f1f718dbe0f87..846248a0693d0 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);