diff mbox series

[v3,5/9] leds: Add multicolor ID to the color ID list

Message ID 20190523190820.29375-6-dmurphy@ti.com
State New
Headers show
Series None | expand

Commit Message

Dan Murphy May 23, 2019, 7:08 p.m. UTC
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>

---
 drivers/leds/led-core.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.21.0.5.gaeb582a983
diff mbox series

Patch

diff --git a/drivers/leds/led-core.c b/drivers/leds/led-core.c
index 0ce1f4aeca92..e1e1749b119d 100644
--- a/drivers/leds/led-core.c
+++ b/drivers/leds/led-core.c
@@ -38,6 +38,7 @@  const char *led_colors[LED_COLOR_ID_COUNT] = {
 	[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);