Skip to content

Commit

Permalink
clk: iproc: Remove __init marking on iproc_pll_clk_setup()
Browse files Browse the repository at this point in the history
Now that this function is called from driver probe routines, it
needs to drop the __init marking because it isn't just called
from init code.

Reported-by: Stephen Rothwell <[email protected]>
Cc: Sandeep Tripathy <[email protected]>
Cc: Anup Patel <[email protected]>
Cc: Ray Jui <[email protected]>
Cc: Scott Branden <[email protected]>
Fixes: 654cdd3 ("clk: bcm: Add clocks for Stingray SOC")
Signed-off-by: Stephen Boyd <[email protected]>
  • Loading branch information
bebarino committed Jun 21, 2017
1 parent 654cdd3 commit e293915
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/clk/bcm/clk-iproc-pll.c
Original file line number Diff line number Diff line change
Expand Up @@ -617,12 +617,12 @@ static void iproc_pll_sw_cfg(struct iproc_pll *pll)
}
}

void __init iproc_pll_clk_setup(struct device_node *node,
const struct iproc_pll_ctrl *pll_ctrl,
const struct iproc_pll_vco_param *vco,
unsigned int num_vco_entries,
const struct iproc_clk_ctrl *clk_ctrl,
unsigned int num_clks)
void iproc_pll_clk_setup(struct device_node *node,
const struct iproc_pll_ctrl *pll_ctrl,
const struct iproc_pll_vco_param *vco,
unsigned int num_vco_entries,
const struct iproc_clk_ctrl *clk_ctrl,
unsigned int num_clks)
{
int i, ret;
struct iproc_pll *pll;
Expand Down

0 comments on commit e293915

Please sign in to comment.