summaryrefslogtreecommitdiffstats
path: root/include/globalvar.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-11-23 11:59:46 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-11-23 12:04:49 +0100
commit834527a5f9bfa378647f1602a41742a01b5a1b18 (patch)
tree8000c11db72f0f9c1e7b92e854be01bc292af16b /include/globalvar.h
parent1c2c4246a9914bfdf234c6c636abcd27d9d3975c (diff)
downloadbarebox-834527a5f9bfa378647f1602a41742a01b5a1b18.tar.gz
barebox-834527a5f9bfa378647f1602a41742a01b5a1b18.tar.xz
nv: add device parameter overwrites to completion list
nv variables in the form dev.<devname>.* can be used to make device parameters persistent. Add these to the completion list to make setting these variables more convenient. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/globalvar.h')
-rw-r--r--include/globalvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/globalvar.h b/include/globalvar.h
index df43f1fe66..67391e2042 100644
--- a/include/globalvar.h
+++ b/include/globalvar.h
@@ -117,6 +117,7 @@ static inline void dev_param_init_from_nv(struct device_d *dev, const char *name
void nv_var_set_clean(void);
int nvvar_save(void);
-int nv_global_complete(struct string_list *sl, char *instr);
+int nv_complete(struct string_list *sl, char *instr);
+int global_complete(struct string_list *sl, char *instr);
#endif /* __GLOBALVAR_H */