]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio, bcm-kona, LLVMLinux: Remove use of __initconst
authorBehan Webster <behanw@converseincode.com>
Tue, 23 Sep 2014 22:55:07 +0000 (15:55 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 24 Sep 2014 11:39:03 +0000 (13:39 +0200)
commit3778129206419c41f0dac877d931900397cab25c
treecfe647b2af5b9b3ea591a67f85e3a1b05f04dd7b
parent1b4c5a6e6b73b082170bfcbf1ff3e2fcf2e7530c
gpio, bcm-kona, LLVMLinux: Remove use of __initconst

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@converseincode.com>
Reviewed-by: Mark Charlebois <charlebm@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-bcm-kona.c