ARM: Build fix after Tegra14 K3.4 merge
[linux-3.10.git] / arch / arm / mach-tegra / timer.c
index e8cdd5b..540d1ed 100644 (file)
@@ -275,6 +275,8 @@ static void __init tegra_init_late_timer(void)
 #define tegra_twd_get_state    do {} while(0)
 #define tegra_twd_suspend      do {} while(0)
 #define tegra_twd_resume       do {} while(0)
+void __init tegra_cpu_timer_init(void) {}
+static void __init tegra_init_late_timer(void) {}
 #endif
 
 #ifdef CONFIG_ARM_ARCH_TIMER
@@ -593,7 +595,7 @@ void __init tegra_init_timer(void)
                break;
 #endif
        default:
-               if (tegra_revision == TEGRA_REVISION_QT) {
+               if (tegra_platform_is_qt()) {
                        timer_writel(0x000c, TIMERUS_USEC_CFG);
                        break;
                }