Commit c63fe28b authored by Anson Huang's avatar Anson Huang Committed by Shawn Guo
Browse files

clk: imx: Remove __init for imx_check_clocks() API



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: default avatarAnson Huang <Anson.Huang@nxp.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent b170b5d5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;