mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
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>
This commit is contained in:
parent
39280742ef
commit
75c4fd8c78
13 changed files with 14 additions and 66 deletions
|
@ -59,7 +59,5 @@ void __init dec_ioasic_clocksource_init(void)
|
|||
printk(KERN_INFO "I/O ASIC clock frequency %dHz\n", freq);
|
||||
|
||||
clocksource_dec.rating = 200 + freq / 10000000;
|
||||
clocksource_set_clock(&clocksource_dec, freq);
|
||||
|
||||
clocksource_register(&clocksource_dec);
|
||||
clocksource_register_hz(&clocksource_dec, freq);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue