]> git.baikalelectronics.ru Git - 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)
commitd7a2c9f8fcb5c75d6665c06e6dc667704167c415
tree0515bc171926e3d2c09ecac0c1de3ae0e5695480
parentc9cfef7bed07516519ff210aa4d22f064f2f4a55
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