[U-Boot] [PATCH v2 1/3] libfdt: fix description of fdt_get_string()

Masahiro Yamada yamada.masahiro at socionext.com
Tue Jul 14 18:08:42 CEST 2015


Looks like this comment was copied from that of
fdt_get_string_index().

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
Fixes: 5094eb408a5d ("fdt: Add functions to retrieve strings")
---

Changes in v2: None

 include/libfdt.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/libfdt.h b/include/libfdt.h
index f3cbb63..421d64f 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
-- 
1.9.1



More information about the U-Boot mailing list