diff options
author | Stephen Boyd | 2019-02-21 15:27:55 -0800 |
---|---|---|
committer | Stephen Boyd | 2019-02-21 15:29:10 -0800 |
commit | 341fdf2602113a3fd8e05046e2b7a75b5c0f308e (patch) | |
tree | 4e20dda1efc91520a369c96084c4f47840da9291 /drivers/clk/imx | |
parent | db27e40b27f18d66d9e01745211ac87bc03a14b7 (diff) |
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 <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/imx')
-rw-r--r-- | drivers/clk/imx/clk-imx8mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c index b7f3ac256856..1ef8438e3d6d 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; |