diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2016-12-20 10:33:37 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-01-09 13:41:13 +0100 |
commit | 37a37dff187d8cf013f071534e07579ecf564c2a (patch) | |
tree | 5a1bc62bd820180a64283a0ebb179148baeb261c /include/param.h | |
parent | 3f4133984439dc72846566f4a30cce820427a83f (diff) | |
download | barebox-37a37dff187d8cf013f071534e07579ecf564c2a.tar.gz barebox-37a37dff187d8cf013f071534e07579ecf564c2a.tar.xz |
devparam: add static inline dummy for dev_add_param_bitmask
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/param.h')
-rw-r--r-- | include/param.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/param.h b/include/param.h index 0f7d2446a2..f5f82ee70c 100644 --- a/include/param.h +++ b/include/param.h @@ -132,6 +132,14 @@ static inline struct param_d *dev_add_param_enum(struct device_d *dev, const cha return ERR_PTR(-ENOSYS); } +static inline struct param_d *dev_add_param_bitmask(struct device_d *dev, const char *name, + int (*set)(struct param_d *p, void *priv), + int (*get)(struct param_d *p, void *priv), + unsigned long *value, const char * const *names, int max, void *priv) +{ + return ERR_PTR(-ENOSYS); +} + static inline struct param_d *dev_add_param_bool(struct device_d *dev, const char *name, int (*set)(struct param_d *p, void *priv), int (*get)(struct param_d *p, void *priv), |