summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-fixed-rate.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2016-08-13 03:50:23 +0200
committerStephen Boyd <sboyd@codeaurora.org>2016-08-16 00:08:06 +0200
commitd336e9a71eedb1970b81bc8c042334b70fd4ddf7 (patch)
treed08eaea27c88afa641d6ac05fd9f44f9e3df800b /drivers/clk/clk-fixed-rate.c
parentclk: fixed-factor: Remove export symbol on setup function (diff)
downloadlinux-d336e9a71eedb1970b81bc8c042334b70fd4ddf7.tar.xz
linux-d336e9a71eedb1970b81bc8c042334b70fd4ddf7.zip
clk: fixed-rate: Remove export symbol on setup function
This function is only called by builtin code, but we always exported it and had marked it as __init before commit e4eda8e0654c (clk: remove exported function from __init section, 2013-01-06) removed that marking. Given that it isn't used by modules, lets unexport it and add back __init. Cc: Denis Efremov <yefremov.denis@gmail.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/clk-fixed-rate.c')
-rw-r--r--drivers/clk/clk-fixed-rate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c
index c735272ed706..b5c46b3f8764 100644
--- a/drivers/clk/clk-fixed-rate.c
+++ b/drivers/clk/clk-fixed-rate.c
@@ -190,11 +190,10 @@ static struct clk *_of_fixed_clk_setup(struct device_node *node)
/**
* of_fixed_clk_setup() - Setup function for simple fixed rate clock
*/
-void of_fixed_clk_setup(struct device_node *node)
+void __init of_fixed_clk_setup(struct device_node *node)
{
_of_fixed_clk_setup(node);
}
-EXPORT_SYMBOL_GPL(of_fixed_clk_setup);
CLK_OF_DECLARE(fixed_clk, "fixed-clock", of_fixed_clk_setup);
static int of_fixed_clk_remove(struct platform_device *pdev)