Make pointer to image in bbu data const so that we can put const pointers into that. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- include/bbu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bbu.h b/include/bbu.h index a3824e11cf..def568e498 100644 --- a/include/bbu.h +++ b/include/bbu.h @@ -11,7 +11,7 @@ struct bbu_data { #define BBU_FLAG_YES (1 << 1) unsigned long flags; int force; - void *image; + const void *image; const char *imagefile; const char *devicefile; size_t len; -- 2.15.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox