summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2016-02-12 21:50:16 +0300
committerMichael Turquette <mturquette@baylibre.com>2016-02-18 03:50:13 +0300
commitfb4dd22203e03087c71e5c8757ed14fc122bc9ea (patch)
treee885946b6d7da5d755c15d07cd42e0314a701464
parent3aef66490d8ef1f6cc3e0fc92264f47a1a398535 (diff)
downloadlinux-fb4dd22203e03087c71e5c8757ed14fc122bc9ea.tar.xz
clk: Make of_clk_get_from_provider() available to modules
Export symbol of_clk_get_from_provider so it can be used in loadable kernel modules Signed-off-by: Andrew F. Davis <afd@ti.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com>
-rw-r--r--drivers/clk/clk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 67cd2f116c3b..58ef3dab894a 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -3019,6 +3019,7 @@ struct clk *of_clk_get_from_provider(struct of_phandle_args *clkspec)
{
return __of_clk_get_from_provider(clkspec, NULL, __func__);
}
+EXPORT_SYMBOL_GPL(of_clk_get_from_provider);
int of_clk_get_parent_count(struct device_node *np)
{