summaryrefslogtreecommitdiff
path: root/arch/mips/kernel/csrc-sb1250.c
diff options
context:
space:
mode:
authorJohn Stultz <johnstul@us.ibm.com>2010-04-26 20:23:11 -0700
committerJohn Stultz <john.stultz@linaro.org>2011-02-21 13:33:50 -0800
commit75c4fd8c7862f37eeae5c80f33bbe4dce97571d4 (patch)
treed222dd777a673962f4e819b7b6e9be10295e8c95 /arch/mips/kernel/csrc-sb1250.c
parent39280742efb00ab61ad62486c737fdd3e980c30f (diff)
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/csrc-sb1250.c')
-rw-r--r--arch/mips/kernel/csrc-sb1250.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/kernel/csrc-sb1250.c b/arch/mips/kernel/csrc-sb1250.c
index d14d3d1907fa..e9606d907685 100644
--- a/arch/mips/kernel/csrc-sb1250.c
+++ b/arch/mips/kernel/csrc-sb1250.c
@@ -65,6 +65,5 @@ void __init sb1250_clocksource_init(void)
IOADDR(A_SCD_TIMER_REGISTER(SB1250_HPT_NUM,
R_SCD_TIMER_CFG)));
- clocksource_set_clock(cs, V_SCD_TIMER_FREQ);
- clocksource_register(cs);
+ clocksource_register_hz(cs, V_SCD_TIMER_FREQ);
}