OMAP: PM debug: fix section mismatch warnings
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 27 May 2011 20:56:12 +0000 (13:56 -0700)
committerKevin Hilman <khilman@ti.com>
Mon, 6 Jun 2011 23:14:46 +0000 (16:14 -0700)
commitc8fb13d04ad0d08772f637bee873e620fcc064c2
tree38c9a25b5a53e855c9c2edf77f45269394d464f0
parent59c5f46fbe01a00eedf54a23789634438bb80603
OMAP: PM debug: fix section mismatch warnings

WARNING: arch/arm/mach-omap2/built-in.o(.text+0x423c): Section mismatch in reference from the function pm_dbg_regset_init() to the function .init.text:pm_dbg_init()
The function pm_dbg_regset_init() references
the function __init pm_dbg_init().
This is often because pm_dbg_regset_init lacks a __init
annotation or the annotation of pm_dbg_init is wrong.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/pm-debug.c