From: Tony Lindgren Date: Mon, 21 Jan 2013 18:17:03 +0000 (-0800) Subject: ARM: OMAP2+: Fix section warning for omap_init_ocp2scp() X-Git-Tag: omap-for-v3.8-rc4/fixes-signed~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e407ee099a1d3d80b63123491c81ca7de9d77ad9;p=pandora-kernel.git 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 --- Reading git-diff-tree failed