diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2017-05-11 11:41:07 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-05-17 08:17:50 +0200 |
commit | 441941f5a664e0333d78ee480ea8b974a9a99d9d (patch) | |
tree | ca413884ac875f44c981ef06f28ea3714d8dd651 /include | |
parent | 35e31c47611764dbe252a3d39702ef5c7873b640 (diff) | |
download | barebox-441941f5a664e0333d78ee480ea8b974a9a99d9d.tar.gz barebox-441941f5a664e0333d78ee480ea8b974a9a99d9d.tar.xz |
param: fix stub prototype of dev_add_param
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/param.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |