summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/sleep-t20.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/sleep-t20.S')
-rw-r--r--arch/arm/mach-tegra/sleep-t20.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/sleep-t20.S b/arch/arm/mach-tegra/sleep-t20.S
index 15d960800070..f7f119cbb325 100644
--- a/arch/arm/mach-tegra/sleep-t20.S
+++ b/arch/arm/mach-tegra/sleep-t20.S
@@ -77,6 +77,7 @@ ENTRY(tegra20_hotplug_shutdown)
mov pc, lr @ should never get here
ENDPROC(tegra20_hotplug_shutdown)
+#if defined(CONFIG_PM_SLEEP)
/*
* tegra20_cpu_shutdown(int cpu)
*
@@ -513,3 +514,4 @@ tegra2_sdram_pad_save:
.globl tegra2_iram_end
tegra2_iram_end:
b .
+#endif