summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-04-15 08:59:46 +0200
committerMike Turquette <mturquette@linaro.org>2013-04-15 14:50:17 -0700
commit496620ccf8905b39058adc998475125325a7e753 (patch)
tree2d7a0d3c9f9e4b8021d3c6098519f33c011934f1
parentbdca21ecc252b5d390065de03d03c5a9df491025 (diff)
downloadlinux-496620ccf8905b39058adc998475125325a7e753.tar.gz
linux-496620ccf8905b39058adc998475125325a7e753.tar.bz2
linux-496620ccf8905b39058adc998475125325a7e753.zip
clk: export __clk_get_flags for modular clock providers
The common clock api provides some helpers for clk-providers but does not export these helpers. This hinders clk-providers to be built as modules. This patch adds __clk_get_flags() to the list of exported symbols. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
-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 d65ef178e6eb..20ce67f82d65 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -458,6 +458,7 @@ static void clk_unprepare_unused_subtree(struct clk *clk)
clk->ops->unprepare(clk->hw);
}
}
+EXPORT_SYMBOL_GPL(__clk_get_flags);
/* caller must hold prepare_lock */
static void clk_disable_unused_subtree(struct clk *clk)