diff options
author | Scott Williams <scwilliams@nvidia.com> | 2011-07-21 14:09:24 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 00:55:35 -0700 |
commit | 4d9dec73a141523e2a1717279919fa419353f31b (patch) | |
tree | bdf236b2e31b8f2c1de85f169c8a7acb9ce49c51 /arch/arm/mach-tegra/pm-t3.c | |
parent | bcd0b4a9dc03874998df4ec9d00e66ff9d05f14d (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.c | 3 |
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 |