diff options
author | Denis Efremov <yefremov.denis@gmail.com> | 2013-01-06 09:21:43 -0500 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2013-01-15 19:16:26 -0500 |
commit | e4eda8e0654c19cd7e3d143b051f3d5c213f0b43 (patch) | |
tree | 7c2dc1e2bfa7c1d29808f089b78f8d584e7f54ce /drivers/clk | |
parent | abb165a80b42a5dd6ca001597422f0d28b2cd59a (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/clk')
-rw-r--r-- | drivers/clk/clk-fixed-rate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-fixed-rate.c b/drivers/clk/clk-fixed-rate.c index af78ed6b67ef..a53b53be3d65 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, | |||
85 | /** | 85 | /** |
86 | * of_fixed_clk_setup() - Setup function for simple fixed rate clock | 86 | * of_fixed_clk_setup() - Setup function for simple fixed rate clock |
87 | */ | 87 | */ |
88 | void __init of_fixed_clk_setup(struct device_node *node) | 88 | void of_fixed_clk_setup(struct device_node *node) |
89 | { | 89 | { |
90 | struct clk *clk; | 90 | struct clk *clk; |
91 | const char *clk_name = node->name; | 91 | const char *clk_name = node->name; |