aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2017-06-21 09:10:47 -0700
committerStephen Boyd <[email protected]>2017-06-21 09:12:57 -0700
commite293915a6edf3c57bd9f8101249221f5fc5f8bfe (patch)
tree55cdbfb9225a36be03ca0044eed16930a77bcfc5
parent654cdd3229cd1d3f2bfb9df57baf88ba382a52be (diff)
clk: iproc: Remove __init marking on iproc_pll_clk_setup()
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: 654cdd3229cd ("clk: bcm: Add clocks for Stingray SOC") Signed-off-by: Stephen Boyd <[email protected]>
-rw-r--r--drivers/clk/bcm/clk-iproc-pll.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/clk/bcm/clk-iproc-pll.c b/drivers/clk/bcm/clk-iproc-pll.c
index 2d61893da024..375d8dd80d45 100644
--- a/drivers/clk/bcm/clk-iproc-pll.c
+++ b/drivers/clk/bcm/clk-iproc-pll.c
@@ -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;