summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-06-13 16:04:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2017-06-14 09:31:39 +0200
commit5d2958bfb382c67b1cb712d372ebfc45afeb8288 (patch)
treef478115fa04486821762240545a5410265ce5b3f
parent91412f96e326dd83c924542cd6934b08aca28597 (diff)
downloadbarebox-5d2958bfb382c67b1cb712d372ebfc45afeb8288.tar.gz
Revert "param: remove unnecessary device_d * argument"
This reverts commit 0071bacb4c7cab21c9fab8540f5aa9922a270a85.
-rw-r--r--common/globalvar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/globalvar.c b/common/globalvar.c
index aa389be..32ca6a2 100644
--- a/common/globalvar.c
+++ b/common/globalvar.c
@@ -370,7 +370,7 @@ void globalvar_set_match(const char *match, const char *val)
}
}
-static int globalvar_simple_set(struct param_d *p, const char *val)
+static int globalvar_simple_set(struct device_d *dev, struct param_d *p, const char *val)
{
struct device_d *rdev;
const char *pname = NULL;
@@ -388,7 +388,7 @@ static int globalvar_simple_set(struct param_d *p, const char *val)
}
/* Pass to the generic function we have overwritten */
- return dev_param_set_generic(p, val);
+ return dev_param_set_generic(dev, p, val);
}
static void globalvar_nv_sync(const char *name)