Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <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>

+6 -6
+6 -6
drivers/clk/bcm/clk-iproc-pll.c
··· 617 617 } 618 618 } 619 619 620 - void __init iproc_pll_clk_setup(struct device_node *node, 621 - const struct iproc_pll_ctrl *pll_ctrl, 622 - const struct iproc_pll_vco_param *vco, 623 - unsigned int num_vco_entries, 624 - const struct iproc_clk_ctrl *clk_ctrl, 625 - unsigned int num_clks) 620 + void iproc_pll_clk_setup(struct device_node *node, 621 + const struct iproc_pll_ctrl *pll_ctrl, 622 + const struct iproc_pll_vco_param *vco, 623 + unsigned int num_vco_entries, 624 + const struct iproc_clk_ctrl *clk_ctrl, 625 + unsigned int num_clks) 626 626 { 627 627 int i, ret; 628 628 struct iproc_pll *pll;