aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2019-02-21 15:27:55 -0800
committerStephen Boyd <sboyd@kernel.org>2019-02-21 15:29:10 -0800
commit341fdf2602113a3fd8e05046e2b7a75b5c0f308e (patch)
tree4e20dda1efc91520a369c96084c4f47840da9291 /drivers/clk
parentclk: imx8mq: Add the missing ARM clock (diff)
downloadlinux-dev-341fdf2602113a3fd8e05046e2b7a75b5c0f308e.tar.xz
linux-dev-341fdf2602113a3fd8e05046e2b7a75b5c0f308e.zip
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')
-rw-r--r--drivers/clk/imx/clk-imx8mm.c2
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;