summaryrefslogtreecommitdiffstats
path: root/include/libfdt.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-07-15 01:08:42 +0900
committerSimon Glass <sjg@chromium.org>2015-07-20 07:21:47 -0600
commit965fab1adf59586fe27e81f4def0aeadc51ec1d5 (patch)
treea089f5fc3320265c611c695c5dbb96d8384b6a4d /include/libfdt.h
parent8a133bb5ba12275c80d75114a230dab5102936de (diff)
downloadblackbird-obmc-uboot-965fab1adf59586fe27e81f4def0aeadc51ec1d5.tar.gz
blackbird-obmc-uboot-965fab1adf59586fe27e81f4def0aeadc51ec1d5.zip
libfdt: fix description of fdt_get_string()
Looks like this comment was copied from that of fdt_get_string_index(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Fixes: 5094eb408a5d ("fdt: Add functions to retrieve strings") Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/libfdt.h')
-rw-r--r--include/libfdt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libfdt.h b/include/libfdt.h
index f3cbb637be..421d64fd8b 100644
--- a/include/libfdt.h
+++ b/include/libfdt.h
@@ -915,7 +915,7 @@ int fdt_get_string_index(const void *fdt, int node, const char *property,
int index, const char **output);
/**
- * fdt_get_string() - obtain the string at a given index in a string list
+ * fdt_get_string() - obtain the first string in a string list
* @fdt: pointer to the device tree blob
* @node: offset of the node
* @property: name of the property containing the string list
OpenPOWER on IntegriCloud