diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2019-05-09 11:34:12 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-05-10 08:18:25 +0200 |
commit | 28a95cd4a0d0be2b84e4f2dc9dcd1d7411c33ecf (patch) | |
tree | 6cfbbe63dee3e48b587109b5a90de0e05ae2fff3 /include | |
parent | ac91f2875f242b9d90ea7bed58fe9d831510d161 (diff) | |
download | barebox-28a95cd4a0d0be2b84e4f2dc9dcd1d7411c33ecf.tar.gz barebox-28a95cd4a0d0be2b84e4f2dc9dcd1d7411c33ecf.tar.xz |
bbu: bbu_register_std_file_update should take const char*
String arguments to bbu_register_std_file_update should be const.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/bbu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/bbu.h b/include/bbu.h index 0ed355b539..9da6785d2e 100644 --- a/include/bbu.h +++ b/include/bbu.h @@ -54,7 +54,7 @@ int bbu_handlers_iterate(int (*fn)(struct bbu_handler *, void *), void *); int bbu_register_handler(struct bbu_handler *); int bbu_register_std_file_update(const char *name, unsigned long flags, - char *devicefile, enum filetype imagetype); + const char *devicefile, enum filetype imagetype); #else @@ -64,7 +64,7 @@ static inline int bbu_register_handler(struct bbu_handler *unused) } static inline int bbu_register_std_file_update(const char *name, unsigned long flags, - char *devicefile, enum filetype imagetype) + const char *devicefile, enum filetype imagetype) { return -ENOSYS; } |