diff options
Diffstat (limited to 'include/param.h')
-rw-r--r-- | include/param.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) |