Skip to content

Commit

Permalink
clk: remove exported function from __init section
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Denis Efremov authored and Mike Turquette committed Jan 16, 2013
1 parent abb165a commit e4eda8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/clk-fixed-rate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e4eda8e

Please sign in to comment.