projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db27e40
)
clk: imx: imx8mm: Mark init function __init
author
Stephen Boyd
<sboyd@kernel.org>
Thu, 21 Feb 2019 23:27:55 +0000
(15:27 -0800)
committer
Stephen Boyd
<sboyd@kernel.org>
Thu, 21 Feb 2019 23:29:10 +0000
(15:29 -0800)
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>
drivers/clk/imx/clk-imx8mm.c
patch
|
blob
|
history
diff --git
a/drivers/clk/imx/clk-imx8mm.c
b/drivers/clk/imx/clk-imx8mm.c
index
b7f3ac2
..
1ef8438
100644
(file)
--- 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;