On Fri, Dec 21, 2018 at 02:01:32PM +0100, Geert Uytterhoeven wrote: > The second parameter of fdt_getprop_by_offset() is called "offset", not > "ffset". > > Signed-off-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx> Applied, thanks. > --- > libfdt/libfdt.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h > index fdaa3e6f39fe288f..263b7adf4e5b70f1 100644 > --- a/libfdt/libfdt.h > +++ b/libfdt/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 > * -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Attachment:
signature.asc
Description: PGP signature