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>2013-09-14 00:55:35 -0700
commit4d9dec73a141523e2a1717279919fa419353f31b (patch)
treebdf236b2e31b8f2c1de85f169c8a7acb9ce49c51 /arch/arm/mach-tegra/pm-t3.c
parentbcd0b4a9dc03874998df4ec9d00e66ff9d05f14d (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 ff46f577412e..5419fc7c4805 100644
--- a/arch/arm/mach-tegra/pm-t3.c
+++ b/arch/arm/mach-tegra/pm-t3.c
@@ -90,7 +90,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;
@@ -335,3 +335,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