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:
@@ -121,8 +121,7 @@ void __init plat_time_init(void)
|
||||
|
||||
clockevents_register_device(&jz4740_clockevent);
|
||||
|
||||
clocksource_set_clock(&jz4740_clocksource, clk_rate);
|
||||
ret = clocksource_register(&jz4740_clocksource);
|
||||
ret = clocksource_register_hz(&jz4740_clocksource, clk_rate);
|
||||
|
||||
if (ret)
|
||||
printk(KERN_ERR "Failed to register clocksource: %d\n", ret);
|
||||
|
Reference in New Issue
Block a user