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>
static struct clk_hw **hws;
static struct clk_hw_onecell_data *clk_hw_data;
-static int __init imx_clk_init_on(struct device_node *np,
+static int imx_clk_init_on(struct device_node *np,
struct clk_hw * const clks[])
{
u32 *array;