From 49c2421feecf7402f69f4d0ea82004c0c5ee1746 Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Tue, 25 Apr 2017 10:55:26 +0200 Subject: param: fix stub prototype const annotation Signed-off-by: Lucas Stach Signed-off-by: Sascha Hauer --- include/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/param.h b/include/param.h index f9f3398cae..23abb52406 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) -- cgit v1.2.3