summaryrefslogtreecommitdiff
path: root/drivers/clk/clk.c
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2016-02-12 12:50:16 -0600
committerMichael Turquette <mturquette@baylibre.com>2016-02-17 16:50:13 -0800
commitfb4dd22203e03087c71e5c8757ed14fc122bc9ea (patch)
treee885946b6d7da5d755c15d07cd42e0314a701464 /drivers/clk/clk.c
parent3aef66490d8ef1f6cc3e0fc92264f47a1a398535 (diff)
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>
Diffstat (limited to 'drivers/clk/clk.c')
-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)
{