summaryrefslogtreecommitdiffstats
path: root/drivers/clk/imx
diff options
context:
space:
mode:
authorAnson Huang2019-06-10 07:36:33 +0200
committerShawn Guo2019-06-18 08:50:47 +0200
commitc63fe28bf152f75369cc041bc361d18a6157dd16 (patch)
tree7681e4b0016a9b84eaaf939dc86750b9ff92bd85 /drivers/clk/imx
parentclk: imx6sll: Switch to clk_hw based API (diff)
downloadkernel-qcow2-linux-c63fe28bf152f75369cc041bc361d18a6157dd16.tar.gz
kernel-qcow2-linux-c63fe28bf152f75369cc041bc361d18a6157dd16.tar.xz
kernel-qcow2-linux-c63fe28bf152f75369cc041bc361d18a6157dd16.zip
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;