summaryrefslogtreecommitdiffstats
path: root/include/complete.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-05-19 13:55:48 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-05-19 22:23:56 +0200
commite275b2653f87dc6969b3c0baf6f0e7460c62a8db (patch)
tree59a870d2c340091d3a8546475992282d57ec306a /include/complete.h
parente5c59c386784d9c52505823ee293c94f633a8744 (diff)
downloadbarebox-e275b2653f87dc6969b3c0baf6f0e7460c62a8db.tar.gz
barebox-e275b2653f87dc6969b3c0baf6f0e7460c62a8db.tar.xz
complete: Add devicetree completion
The of_* commands take devicetree nodes as parameters. Add a devicetree completion function to ease passing nodes to these commands. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/complete.h')
-rw-r--r--include/complete.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/complete.h b/include/complete.h
index 33b848c91e..491ba66cb4 100644
--- a/include/complete.h
+++ b/include/complete.h
@@ -17,6 +17,9 @@ int empty_complete(struct string_list *sl, char *instr);
int eth_complete(struct string_list *sl, char *instr);
int command_var_complete(struct string_list *sl, char *instr);
int devfs_partition_complete(struct string_list *sl, char *instr);
+int devicetree_alias_complete(struct string_list *sl, char *instr);
+int devicetree_nodepath_complete(struct string_list *sl, char *instr);
+int devicetree_complete(struct string_list *sl, char *instr);
+int devicetree_file_complete(struct string_list *sl, char *instr);
#endif /* __COMPLETE_ */
-