Commit 341fdf26 authored by Stephen Boyd's avatar Stephen Boyd

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: ba5625c3 ("clk: imx: Add clock driver support for imx8mm")
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent db27e40b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment