On Wed, May 13, 2015 at 9:59 AM, Pantelis Antoniou <pantelis.antoniou@xxxxxxxxxxxx> wrote: > diff --git a/drivers/misc/bone_capemgr.c b/drivers/misc/bone_capemgr.c > new file mode 100644 > index 0000000..423719c > --- /dev/null > +++ b/drivers/misc/bone_capemgr.c > +static int capemgr_load_slot(struct bone_cape_slot *slot) > +{ [...] > + of_fdt_unflatten_tree((void *)slot->fw->data, &slot->overlay); After "[PATCH] of/fdt: Make fdt blob input parameters of unflatten functions const", you can remove the cast. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html