Skip to content

Commit

Permalink
clk: fixed-rate: Remove export symbol on setup function
Browse files Browse the repository at this point in the history
This function is only called by builtin code, but we always
exported it and had marked it as __init before commit
e4eda8e (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>
  • Loading branch information
Stephen Boyd committed Aug 15, 2016
1 parent 1caadde commit d336e9a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/clk/clk-fixed-rate.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d336e9a

Please sign in to comment.