diff options
Diffstat (limited to 'arch/arm/mach-tegra/timer-t3.c')
-rw-r--r-- | arch/arm/mach-tegra/timer-t3.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/timer-t3.c b/arch/arm/mach-tegra/timer-t3.c index 2151a2777495..9744ae106634 100644 --- a/arch/arm/mach-tegra/timer-t3.c +++ b/arch/arm/mach-tegra/timer-t3.c @@ -184,6 +184,7 @@ fail: tegra_lp2_in_idle(false); } +#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_HOTPLUG_CPU) static void tegra3_unregister_wake_timer(unsigned int cpu) { #ifdef CONFIG_SMP @@ -194,6 +195,7 @@ static void tegra3_unregister_wake_timer(unsigned int cpu) /* Dispose of this IRQ. */ remove_irq(tegra_lp2wake_irq[cpu].irq, &tegra_lp2wake_irq[cpu]); } +#endif void tegra3_lp2_set_trigger(unsigned long cycles) { |