[PATCH] libfdt: Fix error in documentation for fdt_get_alias_namelen()

Jerry Van Baren gvb.uboot at gmail.com
Sat Oct 4 22:11:27 EST 2008


Oops, screwed up the function name in the documenting comment for this
function.  Trivial correction in this patch.

Signed-off-by: David Gibson <david at gibson.dropbear.id.au>
Acked-by: Gerald Van Baren <vanbaren at cideas.com>
---

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

Best regards,
gvb

 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
-- 
1.5.6.5




More information about the Linuxppc-dev mailing list