Message ID | 20190523190820.29375-5-dmurphy@ti.com |
---|---|
State | New |
Headers | show |
Series | [v3,1/9] leds: multicolor: Add sysfs interface definition | expand |
On Thu, 23 May 2019 14:08:15 -0500, Dan Murphy wrote: > 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> > --- > include/dt-bindings/leds/common.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Reviewed-by: Rob Herring <robh@kernel.org>
diff --git a/include/dt-bindings/leds/common.h b/include/dt-bindings/leds/common.h index d8c8c38700bd..259cea653844 100644 --- a/include/dt-bindings/leds/common.h +++ b/include/dt-bindings/leds/common.h @@ -65,6 +65,7 @@ #define LED_COLOR_ID_VIOLET 5 #define LED_COLOR_ID_YELLOW 6 #define LED_COLOR_ID_IR 7 -#define LED_COLOR_ID_COUNT 8 +#define LED_COLOR_ID_MULTI 8 +#define LED_COLOR_ID_COUNT 9 #endif /* __DT_BINDINGS_LEDS_H */
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> --- include/dt-bindings/leds/common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.21.0.5.gaeb582a983