summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2014-04-25 11:57:46 +0400
committerSascha Hauer <s.hauer@pengutronix.de>2014-04-29 08:11:24 +0200
commita210138078d4598af97711cf9e36376f750c75d9 (patch)
tree5489883b52ea0970a0af017e9593ebc62c50ce8c /include
parent3fafc8e5c702828b783f6b66bccfd5c40db98fd9 (diff)
downloadbarebox-a210138078d4598af97711cf9e36376f750c75d9.tar.gz
barebox-a210138078d4598af97711cf9e36376f750c75d9.tar.xz
clk: move of_clk_get_parent_name() to common clk code
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/clk.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h
index 07b27cf148..dd9fab7297 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -316,6 +316,7 @@ struct clk *of_clk_src_simple_get(struct of_phandle_args *clkspec, void *data);
struct clk *of_clk_get(struct device_node *np, int index);
struct clk *of_clk_get_by_name(struct device_node *np, const char *name);
struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec);
+char *of_clk_get_parent_name(struct device_node *np, unsigned int index);
int of_clk_init(struct device_node *root, const struct of_device_id *matches);
#else
static inline struct clk *of_clk_get(struct device_node *np, int index)