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

From: Santosh Shilimkar
Date: Mon Dec 10 2018 - 21:11:55 EST


On 12/10/2018 1:58 PM, Arnd Bergmann wrote:
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>
---
Acked-by: Santosh Shilimkar <ssantosh@xxxxxxxxxx>