aboutsummaryrefslogtreecommitdiff
path: root/libfdt/libfdt.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2015-08-27 12:12:42 +0900
committerDavid Gibson <david@gibson.dropbear.id.au>2015-08-27 17:14:15 +1000
commit554fde2c77bd73de3f5093df3b643ce1553e1f96 (patch)
tree3ac3a617230fcd1ebb1136c893000c5f418fb14a /libfdt/libfdt.h
parente5e6df7c37f7de13af33a3096e9c66127bb75d15 (diff)
downloaddtc-554fde2c77bd73de3f5093df3b643ce1553e1f96.zip
dtc-554fde2c77bd73de3f5093df3b643ce1553e1f96.tar.gz
dtc-554fde2c77bd73de3f5093df3b643ce1553e1f96.tar.bz2
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>
Diffstat (limited to 'libfdt/libfdt.h')
-rw-r--r--libfdt/libfdt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
index 1054512..1bd0242 100644
--- a/libfdt/libfdt.h
+++ b/libfdt/libfdt.h
@@ -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,