gpio: mxs: remove __init annotation
authorArnd Bergmann <arnd@arndb.de>
Fri, 16 Dec 2016 09:08:14 +0000 (10:08 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 30 Dec 2016 08:02:51 +0000 (09:02 +0100)
commitabc8d5832fd142d565fbfca163348f33b08bc1fe
tree1c6aa51d52379a4d650d7cf87e82caca7cc35de9
parent7ce7d89f48834cefece7804d38fc5d85382edf77
gpio: mxs: remove __init annotation

Building with an old toolchain, I ran into this warning:

WARNING: vmlinux.o(.text+0x63eef0): Section mismatch in reference
  from the function mxs_gpio_probe() to the function
  .init.text:mxs_gpio_init_gc()

Clearly the annotation is wrong, since the function is called from the
non-init probe, so let's remove it.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mxs.c