mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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: 5094eb408a
("fdt: Add functions to retrieve strings")
Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:

committed by
Simon Glass

parent
8a133bb5ba
commit
965fab1adf
@ -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
|
||||
|
Reference in New Issue
Block a user