summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/pm-r8a7740.c
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2014-08-25 12:36:53 +0900
committerSimon Horman <horms+renesas@verge.net.au>2014-09-02 10:04:08 +0900
commitc41215b781efbfa22ffc9dc474c2981c130c153d (patch)
tree5f4936632033900755e329a7ee539d6ae1722f09 /arch/arm/mach-shmobile/pm-r8a7740.c
parent433306747791845677ba662435a9bbbafaa21df3 (diff)
ARM: shmobile: r8a7740: Multiplatform support
Enable r8a7740 Multiplatform support for the generic r8a7740 machine vector. No board support is enabled, and the board code for Armadillo 800 EVA DT Reference is left by itself. 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-r8a7740.c')
-rw-r--r--arch/arm/mach-shmobile/pm-r8a7740.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-shmobile/pm-r8a7740.c b/arch/arm/mach-shmobile/pm-r8a7740.c
index a0d44d537fa..4d327de35d9 100644
--- a/arch/arm/mach-shmobile/pm-r8a7740.c
+++ b/arch/arm/mach-shmobile/pm-r8a7740.c
@@ -13,7 +13,7 @@
#include "common.h"
#include "pm-rmobile.h"
-#ifdef CONFIG_PM
+#if defined(CONFIG_PM) && !defined(CONFIG_ARCH_MULTIPLATFORM)
static int r8a7740_pd_a4s_suspend(void)
{
/*
@@ -58,8 +58,7 @@ void __init r8a7740_init_pm_domains(void)
rmobile_init_domains(r8a7740_pm_domains, ARRAY_SIZE(r8a7740_pm_domains));
pm_genpd_add_subdomain_names("A4S", "A3SP");
}
-
-#endif /* CONFIG_PM */
+#endif /* CONFIG_PM && !CONFIG_ARCH_MULTIPLATFORM */
#ifdef CONFIG_SUSPEND
static int r8a7740_enter_suspend(suspend_state_t suspend_state)