]> git.ipfire.org Git - people/arne_f/kernel.git/commit
ARM: omap2: avoid section mismatch warning
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Dec 2018 21:58:36 +0000 (22:58 +0100)
committerOlof Johansson <olof@lixom.net>
Wed, 12 Dec 2018 22:04:59 +0000 (14:04 -0800)
commitbd3fde386decf09317ff4a07cd0d05380a22f525
tree0515bc171926e3d2c09ecac0c1de3ae0e5695480
parent6dc7e8764b0879157899aa9ca15f894e001f0c20
ARM: omap2: avoid section mismatch warning

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@arndb.de>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Santosh Shilimkar <ssantosh@kernel.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-omap2/pm33xx-core.c