summaryrefslogtreecommitdiff
path: root/drivers/clk/imx/clk-imx8mm.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@kernel.org>2019-02-22 02:27:55 +0300
committerStephen Boyd <sboyd@kernel.org>2019-02-22 02:29:10 +0300
commit341fdf2602113a3fd8e05046e2b7a75b5c0f308e (patch)
tree4e20dda1efc91520a369c96084c4f47840da9291 /drivers/clk/imx/clk-imx8mm.c
parentdb27e40b27f18d66d9e01745211ac87bc03a14b7 (diff)
downloadlinux-341fdf2602113a3fd8e05046e2b7a75b5c0f308e.tar.xz
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/clk-imx8mm.c')
-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;