From patchwork Sat Oct 4 12:11:27 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: libfdt: Fix error in documentation for fdt_get_alias_namelen() Date: Sat, 04 Oct 2008 02:11:27 -0000 From: Jerry Van Baren X-Patchwork-Id: 2694 Message-Id: <20081004121127.GA32255@cideas.com> To: linuxppc-dev@ozlabs.org, jdl@jdl.com, david@gibson.dropbear.id.au 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, 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