summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/pm-t3.c
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2011-07-21 14:09:24 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:46:51 -0800
commit5590df0d264c0c03b9fd1839c6790c5c10e79db8 (patch)
tree08cd75646f4c8842026471a6b341bb8d815b966d /arch/arm/mach-tegra/pm-t3.c
parent8142ecb1c47f4e19262141d07884ebd652943c3b (diff)
ARM: tegra3: Cluster Switch and LP0 require PM_SLEEP
Change-Id: If3d4fa59cf6d7cd8692f6e5b59414a923abcfd0d Signed-off-by: Scott Williams <scwilliams@nvidia.com> DW: Split into logical changes Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Rebase-Id: Rec3560499e4c64fd76a873689691cbae59f7602b
Diffstat (limited to 'arch/arm/mach-tegra/pm-t3.c')
-rw-r--r--arch/arm/mach-tegra/pm-t3.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/pm-t3.c b/arch/arm/mach-tegra/pm-t3.c
index 3c0fdef3ee36..50ce1063e490 100644
--- a/arch/arm/mach-tegra/pm-t3.c
+++ b/arch/arm/mach-tegra/pm-t3.c
@@ -89,7 +89,7 @@
#define CPU_CLOCK(cpu) (0x1<<(8+cpu))
#define CPU_RESET(cpu) (0x1111ul<<(cpu))
-
+#ifdef CONFIG_PM_SLEEP
static int cluster_switch_prolog_clock(unsigned int flags)
{
u32 reg;
@@ -334,3 +334,4 @@ void tegra_lp0_resume_mc(void)
writel(mc_reserved_rsv, mc + MC_RESERVED_RSV);
writel(mc_emem_arb_override, mc + MC_EMEM_ARB_OVERRIDE);
}
+#endif