diff options
author | John Stultz <johnstul@us.ibm.com> | 2010-04-26 23:23:11 -0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-02-21 16:33:50 -0500 |
commit | 75c4fd8c7862f37eeae5c80f33bbe4dce97571d4 (patch) | |
tree | d222dd777a673962f4e819b7b6e9be10295e8c95 /arch/mips/sgi-ip27/ip27-timer.c | |
parent | 39280742efb00ab61ad62486c737fdd3e980c30f (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/sgi-ip27/ip27-timer.c')
-rw-r--r-- | arch/mips/sgi-ip27/ip27-timer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/sgi-ip27/ip27-timer.c b/arch/mips/sgi-ip27/ip27-timer.c index d6802d6d1f82..3cac88382d4c 100644 --- a/arch/mips/sgi-ip27/ip27-timer.c +++ b/arch/mips/sgi-ip27/ip27-timer.c | |||
@@ -177,8 +177,7 @@ static void __init hub_rt_clocksource_init(void) | |||
177 | { | 177 | { |
178 | struct clocksource *cs = &hub_rt_clocksource; | 178 | struct clocksource *cs = &hub_rt_clocksource; |
179 | 179 | ||
180 | clocksource_set_clock(cs, CYCLES_PER_SEC); | 180 | clocksource_register_hz(cs, CYCLES_PER_SEC); |
181 | clocksource_register(cs); | ||
182 | } | 181 | } |
183 | 182 | ||
184 | void __init plat_time_init(void) | 183 | void __init plat_time_init(void) |