From b5526c403c41ffa70a917df3841cd5e77b23d1f3 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 29 Jan 2018 20:37:04 +0100 Subject: imd: Make all pointers into image const The IMD code should be readonly and never modify any pointers. Make all pointers const so that const pointers can be passed in to IMD. Signed-off-by: Sascha Hauer --- include/bbu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/bbu.h') diff --git a/include/bbu.h b/include/bbu.h index 54434b03e0..a3824e11cf 100644 --- a/include/bbu.h +++ b/include/bbu.h @@ -16,7 +16,7 @@ struct bbu_data { const char *devicefile; size_t len; const char *handler_name; - struct imd_header *imd_data; + const struct imd_header *imd_data; }; struct bbu_handler { -- cgit v1.2.3