summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2016-12-20 10:33:36 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-09 13:41:13 +0100
commit3f4133984439dc72846566f4a30cce820427a83f (patch)
treec9da4a6c3e025218375a8f79a1fb048bd6970cc8 /include
parentcce74dff557cb6b291d459b7d5feb1d605a5c00d (diff)
downloadbarebox-3f4133984439dc72846566f4a30cce820427a83f.tar.gz
barebox-3f4133984439dc72846566f4a30cce820427a83f.tar.xz
nvvar: add static inline dummy for nvvar_save
Just as the other NVVAR functions, when support for NVVAR isn't compiled in. 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/globalvar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/globalvar.h b/include/globalvar.h
index ecd9f1d186..80bc53e680 100644
--- a/include/globalvar.h
+++ b/include/globalvar.h
@@ -116,6 +116,11 @@ static inline int nvvar_remove(const char *name)
return 0;
}
+static inline int nvvar_save(void)
+{
+ return 0;
+}
+
static inline void dev_param_init_from_nv(struct device_d *dev, const char *name)
{
}