[PATCH] clk: nomadik: fix missing __init on nomadik_src_init

Sebastian Hesselbarth sebastian.hesselbarth at gmail.com
Mon Oct 7 13:53:13 EDT 2013


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 at gmail.com>
---
Fixing a section mismatch introduced by 
  "ARM: provide common arch init for DT clocks for v3.13"

Cc: Olof Johansson <olof at lixom.net>
Cc: Arnd Bergmann <arnd at arndb.de>
Cc: Kevin Hilman <khilman at linaro.org>
Cc: "arm at kernel.org" <arm at kernel.org>
Cc: Linux ARM Kernel <linux-arm-kernel at lists.infradead.org>
---
 drivers/clk/clk-nomadik.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c
index ce2d6b3..6a934a5 100644
--- 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;
-- 
1.7.2.5




More information about the linux-arm-kernel mailing list