Commit e4eda8e0 authored by Denis Efremov's avatar Denis Efremov Committed by Mike Turquette

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: default avatarDenis Efremov <yefremov.denis@gmail.com>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent abb165a8
...@@ -85,7 +85,7 @@ struct clk *clk_register_fixed_rate(struct device *dev, const char *name, ...@@ -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 * 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; struct clk *clk;
const char *clk_name = node->name; const char *clk_name = node->name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment