diff options
author | Magnus Damm <damm+renesas@opensource.se> | 2014-06-06 03:20:46 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-06-26 02:51:57 -0400 |
commit | 0d77c9aa7a13a9fcfc93836188474f43394ea657 (patch) | |
tree | 34be891d2a5c4b4fb4a08facdaade145f9a5f372 /arch/arm/mach-shmobile | |
parent | 784500be40a0eabcee1e48c70927aea9c9accb1e (diff) |
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>
Diffstat (limited to 'arch/arm/mach-shmobile')
-rw-r--r-- | arch/arm/mach-shmobile/platsmp-apmu.c | 2 |
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) | |||
240 | return 0; | 240 | return 0; |
241 | } | 241 | } |
242 | 242 | ||
243 | void shmobile_smp_apmu_suspend_init(void) | 243 | void __init shmobile_smp_apmu_suspend_init(void) |
244 | { | 244 | { |
245 | shmobile_suspend_ops.enter = shmobile_smp_apmu_enter_suspend; | 245 | shmobile_suspend_ops.enter = shmobile_smp_apmu_enter_suspend; |
246 | } | 246 | } |