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: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Anson Huang 2019-06-10 13:36:33 +08:00 committed by Shawn Guo
parent b170b5d5e8
commit c63fe28bf1

View file

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