summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-05-09 11:34:12 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-05-10 08:18:25 +0200
commit28a95cd4a0d0be2b84e4f2dc9dcd1d7411c33ecf (patch)
tree6cfbbe63dee3e48b587109b5a90de0e05ae2fff3 /common
parentac91f2875f242b9d90ea7bed58fe9d831510d161 (diff)
downloadbarebox-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 'common')
-rw-r--r--common/bbu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/bbu.c b/common/bbu.c
index 5cb09e4eb0..3271d403b7 100644
--- a/common/bbu.c
+++ b/common/bbu.c
@@ -361,7 +361,7 @@ err_close:
* Return: 0 if successful, negative error code otherwise
*/
int bbu_register_std_file_update(const char *name, unsigned long flags,
- char *devicefile, enum filetype imagetype)
+ const char *devicefile, enum filetype imagetype)
{
struct bbu_std *std;
struct bbu_handler *handler;