[PATCH] pinctrl: coh901: fix initconst annotation

Linus Walleij linus.walleij at linaro.org
Mon Feb 15 11:41:22 PST 2016


On Mon, Feb 8, 2016 at 3:29 PM, Arnd Bergmann <arnd at arndb.de> wrote:

> Clang correctly points out that the section attribute for u300_gpio_confdata
> is in the wrong place:
>
> drivers/pinctrl/pinctrl-coh901.c:130:37: error: '__section__' attribute only applies to functions and global variables
>
> This moves it from the type name to the variable, so it actually gets
> discarded.
>
> Signed-off-by: Arnd Bergmann <arnd at arndb.de>

Patch applied.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list