summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/include/mach
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/include/mach')
-rw-r--r--arch/arm/mach-tegra/include/mach/timex.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/include/mach/timex.h b/arch/arm/mach-tegra/include/mach/timex.h
index b4f0b3f8c740..d59ade633b8c 100644
--- a/arch/arm/mach-tegra/include/mach/timex.h
+++ b/arch/arm/mach-tegra/include/mach/timex.h
@@ -23,4 +23,12 @@
#define CLOCK_TICK_RATE 1000000
+#if defined(CONFIG_USE_ARM_TWD_PRESCALER)
+void local_timer_rescale(unsigned long cpu_freq_khz);
+#else
+static inline void local_timer_rescale(unsigned long cpu_freq_khz)
+{
+}
+#endif
+
#endif