Signed-off-by: Lucas Stach <l.stach@xxxxxxxxxxxxxx> --- include/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/param.h b/include/param.h index f9f3398cae51..23abb524068c 100644 --- a/include/param.h +++ b/include/param.h @@ -98,7 +98,7 @@ static inline struct param_d *get_param_by_name(struct device_d *dev, return NULL; } -static inline struct param_d *dev_add_param(struct device_d *dev, char *name, +static inline struct param_d *dev_add_param(struct device_d *dev, const char *name, int (*set)(struct device_d *dev, struct param_d *p, const char *val), const char *(*get)(struct device_d *, struct param_d *p), unsigned long flags) -- 2.11.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox