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:
parent
db27e40b27
commit
341fdf2602
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue