Patchwork libfdt: Fix error in documentation for fdt_get_alias_namelen()

login
register
mail settings
Submitter Jerry Van Baren
Date Oct. 4, 2008, 12:11 p.m.
Message ID <20081004121127.GA32255@cideas.com>
Download mbox | patch
Permalink /patch/2694/
State Not Applicable
Headers show

Comments

Jerry 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 <david@gibson.dropbear.id.au>
Acked-by: Gerald Van Baren <vanbaren@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(-)

Patch

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