Re: [PATCH v2 1/2] gpio, bcm-kona, LLVMLinux: Remove use of __initconst

From: Linus Walleij
Date: Wed Sep 24 2014 - 07:41:01 EST


On Wed, Sep 24, 2014 at 12:55 AM, <behanw@xxxxxxxxxxxxxxxxxx> wrote:

> From: Behan Webster <behanw@xxxxxxxxxxxxxxxxxx>
>
> The __initconst is in the wrong place, and when moved to the correct place
> it uncovers an error where the variable is used by non-init data structures.
>
> Instead merely make them const and put the const in the right spot.
>
> Signed-off-by: Behan Webster <behanw@xxxxxxxxxxxxxxxxxx>
> Reviewed-by: Mark Charlebois <charlebm@xxxxxxxxx>
> Acked-by: Arnd Bergmann <arnd@xxxxxxxx>
> Acked-by: Matt Porter <mporter@xxxxxxxxxx>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/