summaryrefslogtreecommitdiffstats
path: root/include/param.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-02-28 10:48:43 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-02-28 11:22:57 +0100
commit81ba01fee6538847195b3ebf4d623429fc9eabfd (patch)
treeeefed85b84930314bdef73f82bf7ff35424da8c4 /include/param.h
parentfb7836ebf638de5ca1a6e0955ebf66e50fd5bd17 (diff)
downloadbarebox-81ba01fee6538847195b3ebf4d623429fc9eabfd.tar.gz
barebox-81ba01fee6538847195b3ebf4d623429fc9eabfd.tar.xz
param: dev_add_param_fixed: constify argument
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/param.h')
-rw-r--r--include/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/param.h b/include/param.h
index 7830f6f159..e8458b5b2d 100644
--- a/include/param.h
+++ b/include/param.h
@@ -54,7 +54,7 @@ struct param_d *dev_add_param_ip(struct device_d *dev, const char *name,
int (*get)(struct param_d *p, void *priv),
IPaddr_t *ip, void *priv);
-int dev_add_param_fixed(struct device_d *dev, char *name, char *value);
+int dev_add_param_fixed(struct device_d *dev, char *name, const char *value);
void dev_remove_param(struct param_d *p);