pinctrl: coh901: fix initconst annotation
authorArnd Bergmann <arnd@arndb.de>
Mon, 8 Feb 2016 14:29:49 +0000 (15:29 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Feb 2016 19:40:52 +0000 (20:40 +0100)
commit88aa9f74e23543307f3475b64d65f85cb91729cd
tree3f818933b512374abefee6bcee60318381d9ac7a
parent424a6c607c169ca0ac8431424f28fc839b45b14c
pinctrl: coh901: fix initconst annotation

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@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-coh901.c