Browse Source

libfdt: fix comment block of fdt_get_property_namelen()

The statement "Identical to fdt_get_property_namelen() ..." does not
make sense for the comment of fdt_get_property_namelen() itself.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
main
Masahiro Yamada 9 years ago committed by David Gibson
parent
commit
554fde2c77
  1. 4
      libfdt/libfdt.h

4
libfdt/libfdt.h

@ -457,8 +457,8 @@ const struct fdt_property *fdt_get_property_by_offset(const void *fdt, @@ -457,8 +457,8 @@ const struct fdt_property *fdt_get_property_by_offset(const void *fdt,
* @namelen: number of characters of name to consider
* @lenp: pointer to an integer variable (will be overwritten) or NULL
*
* Identical to fdt_get_property_namelen(), but only examine the first
* namelen characters of name for matching the property name.
* Identical to fdt_get_property(), but only examine the first namelen
* characters of name for matching the property name.
*/
const struct fdt_property *fdt_get_property_namelen(const void *fdt,
int nodeoffset,

Loading…
Cancel
Save