libfdt: Fix error in documentation for fdt_get_alias_namelen()

Message ID
State Not Applicable, archived
Headers show

Commit Message

Gerald Van Baren Oct. 4, 2008, 12:11 p.m.
Oops, screwed up the function name in the documenting comment for this
function.  Trivial correction in this patch.

Signed-off-by: David Gibson <>
Acked-by: Gerald Van Baren <>

David's cut-n-paste fix git-ized and applied to the dtc repo.

Best regards,

 libfdt/libfdt.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h
index a11bbf3..4a95e11 100644
--- a/libfdt/libfdt.h
+++ b/libfdt/libfdt.h
@@ -459,7 +459,7 @@  static inline void *fdt_getprop_w(void *fdt, int nodeoffset,
 uint32_t fdt_get_phandle(const void *fdt, int nodeoffset);
- * fdt_get_namelen - get alias based on substring
+ * fdt_get_alias_namelen - get alias based on substring
  * @fdt: pointer to the device tree blob
  * @name: name of the alias th look up
  * @namelen: number of characters of name to consider