summaryrefslogtreecommitdiffstats
path: root/drivers/clk/clk-nomadik.c
diff options
context:
space:
mode:
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>2013-10-07 19:53:13 +0200
committerOlof Johansson <olof@lixom.net>2013-10-07 20:41:21 +0200
commit54bf93c49a9a7a395df3a6442c5b6bf428c945cb (patch)
tree7e88e1963fce2ff86da964b90122a02d667ee862 /drivers/clk/clk-nomadik.c
parentMerge tag 'renesas-cleanup-for-v3.13' of git://git.kernel.org/pub/scm/linux/k... (diff)
downloadlinux-54bf93c49a9a7a395df3a6442c5b6bf428c945cb.tar.xz
linux-54bf93c49a9a7a395df3a6442c5b6bf428c945cb.zip
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. Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/clk/clk-nomadik.c')
-rw-r--r--drivers/clk/clk-nomadik.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk-nomadik.c b/drivers/clk/clk-nomadik.c
index ce2d6b32e3f5..6a934a5296bd 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;