summaryrefslogtreecommitdiffstats
path: root/include/param.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/param.h')
-rw-r--r--include/param.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/param.h b/include/param.h
index 23abb52..5eed97e 100644
--- a/include/param.h
+++ b/include/param.h
@@ -99,8 +99,8 @@ static inline struct param_d *get_param_by_name(struct device_d *dev,
}
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),
+ int (*set)(struct param_d *p, const char *val),
+ const char *(*get)(struct param_d *p),
unsigned long flags)
{
return ERR_PTR(-ENOSYS);