aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDenis Efremov <yefremov.denis@gmail.com>2013-01-06 18:21:43 +0400
committerHaojian Zhuang <haojian.zhuang@linaro.org>2013-04-03 20:23:55 +0800
commit5f6e700f103e9011f2c67de8f06760a392ed8927 (patch)
treeaaf43d9b542b06e1d0c86d0375779424559f01da /drivers
parent7f0b242a45fee8abc8e2568f2d1c27442ef656ef (diff)
clk: remove exported function from __init section
The symbol of_fixed_clk_setup is exported and annotated __init. This looks like section mismatch. Fix this by removing the __init annotation of of_fixed_clk_setup. Signed-off-by: Denis Efremov <yefremov.denis@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clk/clk-fixed-rate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c
index af78ed6b67e..a53b53be3d6 100644
--- a/drivers/clk/clk-fixed-rate.c
+++ b/drivers/clk/clk-fixed-rate.c
@@ -85,7 +85,7 @@ struct clk *clk_register_fixed_rate(struct device *dev, const char *name,
/**
* of_fixed_clk_setup() - Setup function for simple fixed rate clock
*/
-void __init of_fixed_clk_setup(struct device_node *node)
+void of_fixed_clk_setup(struct device_node *node)
{
struct clk *clk;
const char *clk_name = node->name;