[PATCH] ARM: shmobile: koelsch-reference: Annotate clk_names as __initconst

Sergei Shtylyov sergei.shtylyov at cogentembedded.com
Mon Mar 17 07:49:40 EDT 2014


Hello.

On 17-03-2014 6:19, Simon Horman wrote:

    Apparently you meant clk_enables in the subject, not clk_names.

> Cc: Geert Uytterhoeven <geert at linux-m68k.org>
> Signed-off-by: Simon Horman <horms+renesas at verge.net.au>
[...]

> diff --git a/arch/arm/mach-shmobile/board-koelsch-reference.c b/arch/arm/mach-shmobile/board-koelsch-reference.c
> index a39114a..63117d52 100644
> --- a/arch/arm/mach-shmobile/board-koelsch-reference.c
> +++ b/arch/arm/mach-shmobile/board-koelsch-reference.c
> @@ -110,7 +110,7 @@ static const struct clk_name clk_names[] __initconst = {
>   /*
>    * This is a really crude hack to work around core platform clock issues
>    */
> -static const struct clk_name clk_enables[] = {
> +static const struct clk_name clk_enables[] __initconst = {

WBR, Sergei





More information about the linux-arm-kernel mailing list