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 11:41:21 -0700
commit54bf93c49a9a7a395df3a6442c5b6bf428c945cb (patch)
tree7e88e1963fce2ff86da964b90122a02d667ee862 /drivers/clk/clk-nomadik.c
parentb4e086f6797fd5319cce3df317eec28e34910d1d (diff)
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 ce2d6b32e3f..6a934a5296b 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;