From: Stephen Boyd Date: Thu, 21 Feb 2019 23:27:55 +0000 (-0800) Subject: clk: imx: imx8mm: Mark init function __init X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=341fdf2602113a3fd8e05046e2b7a75b5c0f308e;p=linux.git clk: imx: imx8mm: Mark init function __init It calls another __init marked function and thus causes a section mismatch if we don't mark it this way. Fixes: ba5625c3e272 ("clk: imx: Add clock driver support for imx8mm") Signed-off-by: Stephen Boyd --- diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c index b7f3ac256856b..1ef8438e3d6d4 100644 --- a/drivers/clk/imx/clk-imx8mm.c +++ b/drivers/clk/imx/clk-imx8mm.c @@ -379,7 +379,7 @@ static struct clk ** const uart_clks[] __initconst = { NULL }; -static int imx8mm_clocks_init(struct device_node *ccm_node) +static int __init imx8mm_clocks_init(struct device_node *ccm_node) { struct device_node *np; void __iomem *base;