summaryrefslogtreecommitdiffstats
path: root/include/bbu.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-01-29 20:46:10 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-01-30 09:44:28 +0100
commite0c76628bfd150e9fd7f8f0b62e5d461c6cb4a12 (patch)
tree2813a9ea48c320d153704c0ad8fafa3573a774f7 /include/bbu.h
parent7dc5d9d1b43a653b6b840441802b7d56ece69755 (diff)
downloadbarebox-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.h2
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;