summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/pm-r8a7790.c
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2014-06-06 11:21:03 +0400
committerSimon Horman <horms+renesas@verge.net.au>2014-06-26 11:01:26 +0400
commit06f2c5dcc24b026872bfc9b50b47c384638d2111 (patch)
tree7f0b765bf1571343672c345c7653c43ae58df706 /arch/arm/mach-shmobile/pm-r8a7790.c
parent07ce9dfaf477e0d16d40faea251898d5a38d8051 (diff)
downloadlinux-06f2c5dcc24b026872bfc9b50b47c384638d2111.tar.xz
ARM: shmobile: Allow r8a7790 to build non-SMP APMU code
Build the APMU for r8a7790 even though SMP is disabled in the kernel config. Also initialize Suspend-to-RAM from pm-r8a7790.c to in the future cover both UP and SMP use cases of the APMU. 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/pm-r8a7790.c')
-rw-r--r--arch/arm/mach-shmobile/pm-r8a7790.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/pm-r8a7790.c b/arch/arm/mach-shmobile/pm-r8a7790.c
index 4289b38201a8..2f3c25080738 100644
--- a/arch/arm/mach-shmobile/pm-r8a7790.c
+++ b/arch/arm/mach-shmobile/pm-r8a7790.c
@@ -78,4 +78,5 @@ void __init r8a7790_pm_init(void)
iounmap(p);
r8a7790_sysc_init();
+ shmobile_smp_apmu_suspend_init();
}