summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-sa1100
diff options
context:
space:
mode:
authorArnd Bergmann2012-09-24 00:36:35 +0200
committerArnd Bergmann2012-10-09 17:27:01 +0200
commitb3796d92086ecea4c4825fa232da60b6d6f354af (patch)
treee3543efcfecb98eb4fe54402b205988993dcaa1d /arch/arm/mach-sa1100
parentarm: vt8500: Fix build warning in uncompress.h (diff)
downloadkernel-qcow2-linux-b3796d92086ecea4c4825fa232da60b6d6f354af.tar.gz
kernel-qcow2-linux-b3796d92086ecea4c4825fa232da60b6d6f354af.tar.xz
kernel-qcow2-linux-b3796d92086ecea4c4825fa232da60b6d6f354af.zip
ARM: shmobile: mark shmobile_init_late as __init
Patch 35f2b0bd59 "ARM: shmobile: Move definition of shmobile_init_late() to header" moved the definition of the shmobile_init_late function, but dropped the __init annotation, which is now causing warnings because the function calls shmobile_suspend_init, which is also marked init. Without this patch, building kota2_defconfig results in: WARNING: vmlinux.o(.text+0xb7c8): Section mismatch in reference from the function shmobile_init_late() to the function .init.text:shmobile_suspend_init() The function shmobile_init_late() references the function __init shmobile_suspend_init(). This is often because shmobile_init_late lacks a __init annotation or the annotation of shmobile_suspend_init is wrong. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Rafael J. Wysocki <rjw@sisk.pl> Cc: Magnus Damm <damm@opensource.se> Cc: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'arch/arm/mach-sa1100')
0 files changed, 0 insertions, 0 deletions