summaryrefslogtreecommitdiffstats
path: root/include/linux/clk.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-11-08 18:33:09 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-11-08 18:34:23 +0100
commitee69c588417972185a1a2d72aa553410493791c2 (patch)
tree5f570ace0546f0302bb63242620544e75f3e28f4 /include/linux/clk.h
parent9549b10a7ec8a20ccc0177d7b5c5f03c902793c5 (diff)
downloadbarebox-ee69c588417972185a1a2d72aa553410493791c2.tar.gz
barebox-ee69c588417972185a1a2d72aa553410493791c2.tar.xz
clk: add clock command completion
This adds tab completion for the clk_* commands. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux/clk.h')
-rw-r--r--include/linux/clk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h
index 7a0ee110e4..8cb9731f12 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -362,4 +362,8 @@ static inline int of_clk_init(struct device_node *root,
}
#endif
+struct string_list;
+
+int clk_name_complete(struct string_list *sl, char *instr);
+
#endif