Skip to contentSkip to conversation

clk: nomadik: fix missing __init on nomadik_src_init

PATCH New Sebastian Hesselbarth 2 participants 2 messages Oct 7, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: nomadik: fix missing __init on nomadik_src_init

nomadik_src_init references __initconst sections but lacks an __init itself. Add __init to fix the section mismatch.

---
Fixing a section mismatch introduced by
"ARM: provide common arch init for DT clocks for v3.13"

Cc Olof Johansson <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Kevin Hilman <[email protected]>
Cc "arm at kernel.org" <[email protected]>
Cc Linux ARM Kernel <[email protected]>
---
 drivers/clk/clk-nomadik.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/clk/clk-nomadik.c +1 -1
index ce2d6b3..6a934a5 100644
@@ -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;
Signature · 1 line
1.7.2.5
#1 lore raw

PATCH 1/1 clk: nomadik: fix missing __init on nomadik_src_init

Quoting Sebastian Hesselbarth (2013-10-07 10:53:13)

Quoted 4 lines

nomadik_src_init references __initconst sections but lacks an __init itself. Add __init to fix the section mismatch.

Quoted 34 lines

---
Fixing a section mismatch introduced by
"ARM: provide common arch init for DT clocks for v3.13"

Cc Olof Johansson <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Kevin Hilman <[email protected]>
Cc "arm at kernel.org" <[email protected]>
Cc Linux ARM Kernel <[email protected]>
---
 drivers/clk/clk-nomadik.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/clk/clk-nomadik.c +1 -1
index ce2d6b3..6a934a5 100644
@@ -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;
Signature · 7 lines
1.7.2.5


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel