clk: iproc: Remove __init marking on iproc_pll_clk_setup()
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 21 Jun 2017 16:10:47 +0000 (09:10 -0700)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 21 Jun 2017 16:12:57 +0000 (09:12 -0700)
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 <sfr@canb.auug.org.au>
Cc: Sandeep Tripathy <sandeep.tripathy@broadcom.com>
Cc: Anup Patel <anup.patel@broadcom.com>
Cc: Ray Jui <ray.jui@broadcom.com>
Cc: Scott Branden <scott.branden@broadcom.com>
Fixes: 654cdd3229cd ("clk: bcm: Add clocks for Stingray SOC")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/bcm/clk-iproc-pll.c

index 2d61893da0244d9acecc735afd02278cd5582108..375d8dd80d456f785abe109786ab8e3ded483355 100644 (file)
@@ -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;