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: ba5625c3e2 ("clk: imx: Add clock driver support for imx8mm")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
Stephen Boyd 2019-02-21 15:27:55 -08:00
parent db27e40b27
commit 341fdf2602

View File

@ -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;