[Skiboot] [PATCH] LEDS: rename led node as leds

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Fri Jun 26 18:28:03 AEST 2015


As suggested by Ben [1], rename led device tree node as leds.

[1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2015-June/130433.html

Suggested-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 include/fsp-leds.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/fsp-leds.h b/include/fsp-leds.h
index 1b99ffc..dcf30b1 100644
--- a/include/fsp-leds.h
+++ b/include/fsp-leds.h
@@ -158,7 +158,7 @@ struct sai_data {
 
 /* LED Device tree property names */
 #define DT_PROPERTY_LED_COMPATIBLE	"ibm,opal-v3-led"
-#define DT_PROPERTY_LED_NODE		"led"
+#define DT_PROPERTY_LED_NODE		"leds"
 #define DT_PROPERTY_LED_MODE		"led-mode"
 #define DT_PROPERTY_LED_TYPES		"led-types"
 #define DT_PROPERTY_LED_LOCATION	"led-loc"
-- 
2.1.0



More information about the Skiboot mailing list