linux/arch/arm/mach-shmobile
Arnd Bergmann b3796d9208 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>
2012-10-09 17:27:01 +02:00
..
include/mach ARM: shmobile: mark shmobile_init_late as __init 2012-10-09 17:27:01 +02:00
board-ag5evm.c
board-ap4evb.c Power management updates for 3.7-rc1 2012-10-02 18:32:35 -07:00
board-armadillo800eva.c Power management updates for 3.7-rc1 2012-10-02 18:32:35 -07:00
board-bonito.c
board-g3evm.c
board-g4evm.c ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
board-kota2.c
board-kzm9d.c
board-kzm9g.c So this is the LW GPIO patch stack for v3.7: 2012-10-02 16:05:10 -07:00
board-mackerel.c Power management updates for 3.7-rc1 2012-10-02 18:32:35 -07:00
board-marzen.c ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
clock-emev2.c
clock-r8a7740.c
clock-r8a7779.c
clock-sh73a0.c
clock-sh7367.c
clock-sh7372.c
clock-sh7377.c
clock.c
console.c
cpuidle.c
entry-intc.S
headsmp.S
hotplug.c
intc-r8a7740.c
intc-r8a7779.c
intc-sh73a0.c
intc-sh7367.c
intc-sh7372.c
intc-sh7377.c
Kconfig
Makefile
Makefile.boot
pfc-r8a7740.c
pfc-r8a7779.c
pfc-sh73a0.c
pfc-sh7367.c
pfc-sh7372.c
pfc-sh7377.c
platsmp.c
pm-r8a7740.c
pm-r8a7779.c
pm-rmobile.c Power management updates for 3.7-rc1 2012-10-02 18:32:35 -07:00
pm-sh7372.c Power management updates for 3.7-rc1 2012-10-02 18:32:35 -07:00
setup-emev2.c
setup-r8a7740.c
setup-r8a7779.c
setup-sh73a0.c
setup-sh7367.c
setup-sh7372.c
setup-sh7377.c
sh-gpio.h ARM: soc: multiplatform enablement 2012-10-01 19:11:38 -07:00
sleep-sh7372.S
smp-emev2.c Merge branch 'for-linus' of git://git.linaro.org/people/rmk/linux-arm 2012-10-07 21:20:57 +09:00
smp-r8a7779.c
smp-sh73a0.c
suspend.c
timer.c