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

From: [email-masked] (Mike Turquette)
Date: Mon, 07 Oct 2013 16:39:02 -0700

Quoting Sebastian Hesselbarth (2013-10-07 10:53:13)
> nomadik_src_init references __initconst sections but lacks an __init
> itself. Add __init to fix the section mismatch.
> 
> Signed-off-by: Sebastian Hesselbarth <[email-masked]>

Acked-by: Mike Turquette <[email-masked]>

> ---
> Fixing a section mismatch introduced by 
>   "ARM: provide common arch init for DT clocks for v3.13"
> 
> Cc: Olof Johansson <[email-masked]>
> Cc: Arnd Bergmann <[email-masked]>
> Cc: Kevin Hilman <[email-masked]>
> Cc: "arm at kernel.org" <[email-masked]>
> Cc: Linux ARM Kernel <[email-masked]>
> ---
>  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
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel