summaryrefslogtreecommitdiff
path: root/drivers/clk/imx
diff options
context:
space:
mode:
authorAnson Huang <Anson.Huang@nxp.com>2019-06-10 13:36:33 +0800
committerShawn Guo <shawnguo@kernel.org>2019-06-18 14:50:47 +0800
commitc63fe28bf152f75369cc041bc361d18a6157dd16 (patch)
tree7681e4b0016a9b84eaaf939dc86750b9ff92bd85 /drivers/clk/imx
parentb170b5d5e8a39ee41365c874ba6f035f07d22bfd (diff)
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>
Diffstat (limited to 'drivers/clk/imx')
-rw-r--r--drivers/clk/imx/clk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk.c b/drivers/clk/imx/clk.c
index 0ecb67a9494a..f24118911875 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;