diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-29 20:46:10 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-30 09:44:28 +0100 |
commit | e0c76628bfd150e9fd7f8f0b62e5d461c6cb4a12 (patch) | |
tree | 2813a9ea48c320d153704c0ad8fafa3573a774f7 /include/bbu.h | |
parent | 7dc5d9d1b43a653b6b840441802b7d56ece69755 (diff) | |
download | barebox-e0c76628bfd150e9fd7f8f0b62e5d461c6cb4a12.tar.gz barebox-e0c76628bfd150e9fd7f8f0b62e5d461c6cb4a12.tar.xz |
bbu: Make pointer to image const
Make pointer to image in bbu data const so that we can put
const pointers into that.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/bbu.h')
-rw-r--r-- | include/bbu.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |