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>2011-11-30 21:48:31 -0800
commit6fce4fb3f672810e3681e55fdb52cfae18d08676 (patch)
tree6b17b2924a87cb436c230c7cc5babcb9ec6a8989 /arch/arm/mach-tegra/sleep.S
parentebfe732c0f6f6f34900d1ce00c97aa15201408a5 (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
*