summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/sleep.S
diff options
context:
space:
mode:
authorScott Williams <scwilliams@nvidia.com>2011-08-23 15:52:45 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2012-03-22 23:29:08 -0700
commit008872b605167ab854de779124fb984767268455 (patch)
tree633db2322373e8cd5206b89e9e4c47b18e668540 /arch/arm/mach-tegra/sleep.S
parentac058e5882aae64d9b8008a3cfc201816e12e29d (diff)
ARM: tegra: Fix build errors when PM_SLEEP is not selected
Change-Id: I2037be4b1309ac1fe9af0ec3e644e0a1a4924857 Signed-off-by: Scott Williams <scwilliams@nvidia.com> Reviewed-on: http://git-master/r/48796 Reviewed-by: Daniel Willemsen <dwillemsen@nvidia.com> Rebase-Id: R0840ee98b17984f73f9a5396ab6f86d4d92b744e
Diffstat (limited to 'arch/arm/mach-tegra/sleep.S')
-rw-r--r--arch/arm/mach-tegra/sleep.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/sleep.S b/arch/arm/mach-tegra/sleep.S
index f2471045a288..d254962d9227 100644
--- a/arch/arm/mach-tegra/sleep.S
+++ b/arch/arm/mach-tegra/sleep.S
@@ -131,7 +131,6 @@ ENTRY(tegra_cpu_wfi)
mov pc, lr
ENDPROC(tegra_cpu_wfi)
-#ifdef CONFIG_PM_SLEEP
/*
* tegra_cpu_exit_coherency
*
@@ -143,6 +142,7 @@ ENTRY(tegra_cpu_exit_coherency)
mov pc, lr
ENDPROC(tegra_cpu_exit_coherency)
+#ifdef CONFIG_PM_SLEEP
/*
* Restore CPU state for a suspend
*