From 441941f5a664e0333d78ee480ea8b974a9a99d9d Mon Sep 17 00:00:00 2001 From: Lucas Stach Date: Thu, 11 May 2017 11:41:07 +0200 Subject: param: fix stub prototype of dev_add_param Signed-off-by: Lucas Stach Signed-off-by: Sascha Hauer --- include/param.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/param.h b/include/param.h index 9637229838..dea9d88244 100644 --- a/include/param.h +++ b/include/param.h @@ -102,8 +102,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); -- cgit v1.2.3