MA-17597 clk: imx8mp: remove __init in imx_clk_init_on
authorJindong Yue <jindong.yue@nxp.com>
Mon, 12 Apr 2021 09:10:25 +0000 (17:10 +0800)
committerJindong Yue <jindong.yue@nxp.com>
Fri, 16 Apr 2021 08:11:49 +0000 (16:11 +0800)
commitec8d42ae705500e066123e48a7d2122c04f8a6b7
tree14b58e71964547592585e70a3befe9b6f50f3a36
parent39c73f59d683782a49f1666b33dfa7662ba30516
MA-17597 clk: imx8mp: remove __init in imx_clk_init_on

Fix below section mismatch build warnings:
  The function imx8mp_clocks_probe() references
  the function __init imx_clk_init_on().
  This is often because imx8mp_clocks_probe lacks a __init
  annotation or the annotation of imx_clk_init_on is wrong.

  FATAL: modpost: Section mismatches detected.
  Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.

Reviewed-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Jindong Yue <jindong.yue@nxp.com>
drivers/clk/imx/clk-imx8mp.c