summaryrefslogtreecommitdiff
path: root/arch/sh/lib/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/lib/time.c')
-rw-r--r--arch/sh/lib/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/lib/time.c b/arch/sh/lib/time.c
index 6273f39f210..0f3127106a8 100644
--- a/arch/sh/lib/time.c
+++ b/arch/sh/lib/time.c
@@ -22,7 +22,7 @@ static struct tmu_regs *tmu = (struct tmu_regs *)TMU_BASE;
unsigned long get_tbclk(void)
{
- return get_tmu0_clk_rate() >> 2;
+ return CONFIG_SH_TMU_CLK_FREQ / 4;
}
unsigned long timer_read_counter(void)