[PATCH] ARM: davinci: DA850: move da850_register_pm to .init.text

Nori, Sekhar nsekhar at ti.com
Mon Mar 12 16:46:23 EDT 2012


Hi Uwe,

On Thu, Mar 08, 2012 at 03:33:56, Uwe Kleine-König wrote:
> All callers (board-mityomapl138.c and board-da850-evm.c) use it in
> __init functions only.
> 
> This fixes:
> 
> 	WARNING: vmlinux.o(.text+0xd664): Section mismatch in reference from the function da850_register_pm() to the function .init.text:da8xx_get_mem_ctlr()
> 	The function da850_register_pm() references
> 	the function __init da8xx_get_mem_ctlr().
> 	This is often because da850_register_pm lacks a __init
> 	annotation or the annotation of da8xx_get_mem_ctlr is wrong.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

Applying this, thanks.

Regards,
Sekhar



More information about the linux-arm-kernel mailing list