projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4e086f
)
clk: nomadik: fix missing __init on nomadik_src_init
author
Sebastian Hesselbarth
<sebastian.hesselbarth@gmail.com>
Mon, 7 Oct 2013 17:53:13 +0000
(19:53 +0200)
committer
Olof Johansson
<olof@lixom.net>
Mon, 7 Oct 2013 18:41:21 +0000
(11:41 -0700)
nomadik_src_init references __initconst sections but lacks an __init
itself. Add __init to fix the section mismatch.
Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
drivers/clk/clk-nomadik.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clk-nomadik.c
b/drivers/clk/clk-nomadik.c
index ce2d6b32e3f5db0c583788f6e69b6df5dbc5ab6c..6a934a5296bd4ca2867146dc06272ea1003e238e 100644
(file)
--- a/
drivers/clk/clk-nomadik.c
+++ b/
drivers/clk/clk-nomadik.c
@@
-86,7
+86,7
@@
static const struct of_device_id nomadik_src_match[] __initconst = {
{ /* sentinel */ }
};
-static void nomadik_src_init(void)
+static void
__init
nomadik_src_init(void)
{
struct device_node *np;
u32 val;