diff options
author | John Stultz <johnstul@us.ibm.com> | 2010-04-26 20:23:11 -0700 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2011-02-21 13:33:50 -0800 |
commit | 75c4fd8c7862f37eeae5c80f33bbe4dce97571d4 (patch) | |
tree | d222dd777a673962f4e819b7b6e9be10295e8c95 /arch/mips/alchemy/common/time.c | |
parent | 39280742efb00ab61ad62486c737fdd3e980c30f (diff) | |
download | linux-stable-75c4fd8c7862f37eeae5c80f33bbe4dce97571d4.tar.gz linux-stable-75c4fd8c7862f37eeae5c80f33bbe4dce97571d4.tar.bz2 linux-stable-75c4fd8c7862f37eeae5c80f33bbe4dce97571d4.zip |
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/alchemy/common/time.c')
-rw-r--r-- | arch/mips/alchemy/common/time.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/alchemy/common/time.c b/arch/mips/alchemy/common/time.c index 2aecb2fdf982..d5da6adbf634 100644 --- a/arch/mips/alchemy/common/time.c +++ b/arch/mips/alchemy/common/time.c @@ -141,8 +141,7 @@ static int __init alchemy_time_init(unsigned int m2int) goto cntr_err; /* register counter1 clocksource and event device */ - clocksource_set_clock(&au1x_counter1_clocksource, 32768); - clocksource_register(&au1x_counter1_clocksource); + clocksource_register_hz(&au1x_counter1_clocksource, 32768); cd->shift = 32; cd->mult = div_sc(32768, NSEC_PER_SEC, cd->shift); |