summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/csrc-sb1250.c
diff options
context:
space:
mode:
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 d14d3d1..e9606d9 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);
}
OpenPOWER on IntegriCloud