diff options
author | John Stultz <johnstul@us.ibm.com> | 2010-04-27 03:23:11 (GMT) |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-02-21 21:33:50 (GMT) |
commit | 75c4fd8c7862f37eeae5c80f33bbe4dce97571d4 (patch) | |
tree | d222dd777a673962f4e819b7b6e9be10295e8c95 /arch/mips/kernel/cevt-txx9.c | |
parent | 39280742efb00ab61ad62486c737fdd3e980c30f (diff) | |
download | linux-75c4fd8c7862f37eeae5c80f33bbe4dce97571d4.tar.xz |
mips: convert to clocksource_register_hz/khz
This converts the mips clocksources to use clocksource_register_hz/khz
CC: Ralf Baechle <ralf@linux-mips.org>
CC: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Diffstat (limited to 'arch/mips/kernel/cevt-txx9.c')
-rw-r--r-- | arch/mips/kernel/cevt-txx9.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/kernel/cevt-txx9.c b/arch/mips/kernel/cevt-txx9.c index 0b73773..f0ab92a 100644 --- a/arch/mips/kernel/cevt-txx9.c +++ b/arch/mips/kernel/cevt-txx9.c @@ -51,8 +51,7 @@ void __init txx9_clocksource_init(unsigned long baseaddr, { struct txx9_tmr_reg __iomem *tmrptr; - clocksource_set_clock(&txx9_clocksource.cs, TIMER_CLK(imbusclk)); - clocksource_register(&txx9_clocksource.cs); + clocksource_register_hz(&txx9_clocksource.cs, TIMER_CLK(imbusclk)); tmrptr = ioremap(baseaddr, sizeof(struct txx9_tmr_reg)); __raw_writel(TCR_BASE, &tmrptr->tcr); |