summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2014-06-06 16:20:46 +0900
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2015-02-04 11:16:08 +0100
commit097b6d815aa138c5bd9c7bc8c0648725819a185b (patch)
treeacad3d2d7b4d46238ac2eef209a22092f4c77da7 /arch
parent0b05593643c3baf18b899d395a5680c59a892592 (diff)
downloadlinux-stable-097b6d815aa138c5bd9c7bc8c0648725819a185b.tar.gz
linux-stable-097b6d815aa138c5bd9c7bc8c0648725819a185b.tar.bz2
linux-stable-097b6d815aa138c5bd9c7bc8c0648725819a185b.zip
ARM: shmobile: Use __init for APMU suspend init function
The function shmobile_smp_apmu_suspend_init() should be put into the init section to not trigger section mismatch warnings. Signed-off-by: Magnus Damm <damm+renesas@opensource.se> Signed-off-by: Simon Horman <horms+renesas@verge.net.au> (cherry picked from commit 0d77c9aa7a13a9fcfc93836188474f43394ea657) Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-shmobile/platsmp-apmu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/platsmp-apmu.c b/arch/arm/mach-shmobile/platsmp-apmu.c
index ce07eb9f5cd5..a05b16d88257 100644
--- a/arch/arm/mach-shmobile/platsmp-apmu.c
+++ b/arch/arm/mach-shmobile/platsmp-apmu.c
@@ -240,7 +240,7 @@ static int shmobile_smp_apmu_enter_suspend(suspend_state_t state)
return 0;
}
-void shmobile_smp_apmu_suspend_init(void)
+void __init shmobile_smp_apmu_suspend_init(void)
{
shmobile_suspend_ops.enter = shmobile_smp_apmu_enter_suspend;
}