From: Gerald Van Baren Date: Sat, 4 Oct 2008 11:56:06 +0000 (-0400) Subject: libfdt: Fix error in documentation for fdt_get_alias_namelen() X-Git-Tag: v2008.10-rc3~24^2~1^2^2 X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-uboot.git;a=commitdiff_plain;h=cd3cb0d9269d155276b00207e3816a9347fd1c92 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 Acked-by: Gerald Van Baren --- 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