aboutsummaryrefslogtreecommitdiff
path: root/include/fsp-leds.h
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2015-06-26 16:08:55 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-07-02 14:00:43 +1000
commit53c7db092264ee171f8a482c5b6f13d90b2bcef6 (patch)
treeb2963fa33ab3d20855e1bd406bcfe9ddd7b15f7d /include/fsp-leds.h
parent988ce9c2a0d5fa1df8e98e4c8cd7c0c7edf3ed20 (diff)
downloadskiboot-53c7db092264ee171f8a482c5b6f13d90b2bcef6.zip
skiboot-53c7db092264ee171f8a482c5b6f13d90b2bcef6.tar.gz
skiboot-53c7db092264ee171f8a482c5b6f13d90b2bcef6.tar.bz2
LEDS: Rename led node as leds
Presently we are creating '/ibm,opal/led' node and populating all LED related information there. Ben [1] suggested to rename this as 'leds'. Present code is included in skiboot skiboot-5.0 release..But we don't have any consumer yet. Hence I think its fine to make this changes. Finally updated node name in doc file. [1] https://lists.ozlabs.org/pipermail/linuxppc-dev/2015-June/130433.html Suggested-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Reviewed-by: Stewart Smith <stewart@linux.vnet.ibm.com> [stewart@linux.vnet.ibm.com: We're *lucky* that no FSP based system shipped with skiboot with /led/ rather than /leds/, in future, as the OpenPower ecosystem grows, we will unlikly be able to make this kind of assumption that nobody else went and used this layout. This is likely the last of this kind of change.] Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/fsp-leds.h')
-rw-r--r--include/fsp-leds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fsp-leds.h b/include/fsp-leds.h
index db1f0ad..d22d022 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"