Re: [PATCH] gpio: mxs: remove __init annotation

From: Linus Walleij
Date: Fri Dec 30 2016 - 03:03:37 EST


On Fri, Dec 16, 2016 at 10:08 AM, Arnd Bergmann <arnd@xxxxxxxx> wrote:

> 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@xxxxxxxx>

Patch applied for fixes.

Yours,
Linus Walleij