Re: [PATCH 1/4] ARM: omap2: avoid section mismatch warning

From: Kevin Hilman
Date: Tue Dec 11 2018 - 13:13:02 EST


Arnd Bergmann <arnd@xxxxxxxx> writes:

> WARNING: vmlinux.o(.text+0x27530): Section mismatch in reference from the function am43xx_suspend_init() to the function .init.text:am43xx_map_scu()
> The function am43xx_suspend_init() references
> the function __init am43xx_map_scu().
> This is often because am43xx_suspend_init lacks a __init
> annotation or the annotation of am43xx_map_scu is wrong.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Reviewed-by: Kevin Hilman <khilman@xxxxxxxxxxxx>