diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2017-07-03 11:01:18 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2017-07-06 14:42:23 +0200 |
commit | 56edc2e99a7782fbc5a1b3011030392d06832b72 (patch) | |
tree | fd542aaa7625d23a31396ecbe6c96dd067983156 /include | |
parent | f4563213084baa6c5271a9967b4c3b2bd6b2d49d (diff) | |
download | barebox-56edc2e99a7782fbc5a1b3011030392d06832b72.tar.gz barebox-56edc2e99a7782fbc5a1b3011030392d06832b72.tar.xz |
Revert "param: fix stub prototype of dev_add_param"
This reverts commit 441941f5a664e0333d78ee480ea8b974a9a99d9d, which was on
top of the recently reverted nvvar rework, so needs to be reverted, too.
Signed-off-by: Lucas Stach <l.stach@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 2592a09c3a..b618a2305d 100644 --- a/include/param.h +++ b/include/param.h @@ -104,8 +104,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 param_d *p, const char *val), - const char *(*get)(struct param_d *p), + 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) { return ERR_PTR(-ENOSYS); |