]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: OMAP2+: Fix section warning for omap_init_ocp2scp()
authorTony Lindgren <tony@atomide.com>
Mon, 21 Jan 2013 18:17:03 +0000 (10:17 -0800)
committerTony Lindgren <tony@atomide.com>
Mon, 21 Jan 2013 18:39:52 +0000 (10:39 -0800)
commit47ddc1189ca6907e4b6b82a6e64691e2cedb004e
tree144513b0313184202b524849d51b308722188173
parentd3adc5d58fbeebe661822daace6bc1d3db7076b7
ARM: OMAP2+: Fix section warning for omap_init_ocp2scp()

Otherwise we will get:

WARNING: vmlinux.o(.text+0x1d4f0): Section mismatch in reference from the
function omap_init_ocp2scp() to the function .init.text:omap_device_build()
The function omap_init_ocp2scp() references
the function __init omap_device_build().
This is often because omap_init_ocp2scp lacks a __init
annotation or the annotation of omap_device_build is wrong.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c