aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorKevin Hilman <[email protected]>2012-03-06 19:38:01 +0000
committerTony Lindgren <[email protected]>2012-03-06 19:56:41 +0000
commit1f3b372b3c1018fad960015cbfdf8de9251d14db (patch)
treeb8294356fe0bce5f4beed6e7b2f59ab167a4af59 /lib/mpi/mpi-add.c
parentARM: OMAP2: Fix section warning for n8x0 when CONFIG_MMC_OMAP is not set (diff)
downloadkernel-1f3b372b3c1018fad960015cbfdf8de9251d14db.tar.gz
kernel-1f3b372b3c1018fad960015cbfdf8de9251d14db.zip
ARM: OMAP2+: PM: fix section mismatch with omap2_init_processor_devices()
Fix the below warning by making omap2_init_processor_devices() __init. It is called by an __init function and calls only __init functions, so it should also be init. WARNING: arch/arm/mach-omap2/built-in.o(.text+0x183c): Section mismatch in reference from the function omap2_init_processor_devices() to the function .init.text:_init_omap_device() The function omap2_init_processor_devices() references the function __init _init_omap_device(). This is often because omap2_init_processor_devices lacks a __init annotation or the annotation of _init_omap_device is wrong. Reported-by: Russell King <[email protected]> Signed-off-by: Kevin Hilman <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions