Skip to content

Commit

Permalink
clk: nomadik: fix missing __init on nomadik_src_init
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Hesselbarth authored and Olof Johansson committed Oct 7, 2013
1 parent b4e086f commit 54bf93c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/clk-nomadik.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 54bf93c

Please sign in to comment.