From: Anson Huang <anson.hu...@nxp.com> Some of i.MX SoCs' clock driver use platform driver model, and they need to call imx_check_clocks() API, so imx_check_clocks() API should NOT be in .init section.
Signed-off-by: Anson Huang <anson.hu...@nxp.com> --- drivers/clk/imx/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk.c b/drivers/clk/imx/clk.c index 9cd7097..b1416b2 100644 --- a/drivers/clk/imx/clk.c +++ b/drivers/clk/imx/clk.c @@ -23,7 +23,7 @@ void __init imx_mmdc_mask_handshake(void __iomem *ccm_base, writel_relaxed(reg, ccm_base + CCM_CCDR); } -void __init imx_check_clocks(struct clk *clks[], unsigned int count) +void imx_check_clocks(struct clk *clks[], unsigned int count) { unsigned i; -- 2.7.4