summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Van Baren <vanbaren@cideas.com>2008-10-04 07:56:06 -0400
committerGerald Van Baren <vanbaren@cideas.com>2008-10-04 07:56:06 -0400
commitcd3cb0d9269d155276b00207e3816a9347fd1c92 (patch)
tree1ca5dac33938b82ab710e6d582a6836533609629
parent9a6cf73a88ddab2e1ac39088f2806177982cc62c (diff)
libfdt: Fix error in documentation for fdt_get_alias_namelen()
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>
-rw-r--r--include/libfdt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libfdt.h b/include/libfdt.h
index 7cad68c3ce..ce374fded1 100644
--- a/include/libfdt.h
+++ b/include/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