ARM: tegra: resolve compilation time warnings
[linux-2.6.git] / arch / arm / mach-tegra / timer-t3.c
index 52c8c44..346a791 100644 (file)
 #define TIMER6_OFFSET (TEGRA_TMR6_BASE-TEGRA_TMR1_BASE)
 
 static void __iomem *timer_reg_base = IO_ADDRESS(TEGRA_TMR1_BASE);
-static cpumask_t wake_timer_ready;
+
+#if defined(CONFIG_PM_SLEEP)
 static cpumask_t wake_timer_canceled;
+#if defined(CONFIG_HOTPLUG_CPU)
+static cpumask_t wake_timer_ready;
+#endif
+#endif
 
 #define timer_writel(value, reg) \
        __raw_writel(value, timer_reg_base + (reg))