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>
diff --git a/include/libfdt.h b/include/libfdt.h
index 7cad68c..ce374fd 100644
--- a/include/libfdt.h
+++ b/include/libfdt.h
@@ -459,7 +459,7 @@
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