From ab3efccd4237238e14a08e05da1cacd81d8c3776 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Fri, 21 Dec 2018 14:01:32 +0100 Subject: libfdt: Fix fdt_getprop_by_offset() parameter name in documentation The second parameter of fdt_getprop_by_offset() is called "offset", not "ffset". Signed-off-by: Geert Uytterhoeven Signed-off-by: David Gibson --- cpukit/include/libfdt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/include/libfdt.h') diff --git a/cpukit/include/libfdt.h b/cpukit/include/libfdt.h index fdaa3e6f39..263b7adf4e 100644 --- a/cpukit/include/libfdt.h +++ b/cpukit/include/libfdt.h @@ -669,7 +669,7 @@ static inline struct fdt_property *fdt_get_property_w(void *fdt, int nodeoffset, /** * fdt_getprop_by_offset - retrieve the value of a property at a given offset * @fdt: pointer to the device tree blob - * @ffset: offset of the property to read + * @offset: offset of the property to read * @namep: pointer to a string variable (will be overwritten) or NULL * @lenp: pointer to an integer variable (will be overwritten) or NULL * -- cgit v1.2.3