summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2013-09-03 09:43:51 +0200
committerMike Turquette <mturquette@linaro.org>2013-09-03 13:41:29 -0700
commitb05c683637fd538686030ec46c6717439d5571ab (patch)
tree5b9631d8c33363035b4e91077c275ef8cf35405a /drivers
parent903efc553f738030a4ffa23fa03e7f329655c1c2 (diff)
downloadop-kernel-dev-b05c683637fd538686030ec46c6717439d5571ab.zip
op-kernel-dev-b05c683637fd538686030ec46c6717439d5571ab.tar.gz
clk: Move symbol export to proper location
The __clk_get_flags() symbol is exported immediately following the clk_unprepare_unused_subtree() function. This is unusual, since a symbol export typically follows body of the function that it exports. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/clk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 02e75d4..cc4cb6f 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -458,7 +458,6 @@ 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)
@@ -607,6 +606,7 @@ unsigned long __clk_get_flags(struct clk *clk)
{
return !clk ? 0 : clk->flags;
}
+EXPORT_SYMBOL_GPL(__clk_get_flags);
bool __clk_is_prepared(struct clk *clk)
{
OpenPOWER on IntegriCloud