From: Sebastian Hesselbarth Date: Mon, 7 Oct 2013 17:53:13 +0000 (+0200) Subject: clk: nomadik: fix missing __init on nomadik_src_init X-Git-Tag: firefly_0821_release~176^2~5047^2~10 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=54bf93c49a9a7a395df3a6442c5b6bf428c945cb;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Olof Johansson --- 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;