summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/csrc-bcm1480.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/kernel/csrc-bcm1480.c')
-rw-r--r--arch/mips/kernel/csrc-bcm1480.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/kernel/csrc-bcm1480.c b/arch/mips/kernel/csrc-bcm1480.c
index 51489f8a825..f96f99c794a 100644
--- a/arch/mips/kernel/csrc-bcm1480.c
+++ b/arch/mips/kernel/csrc-bcm1480.c
@@ -49,6 +49,5 @@ void __init sb1480_clocksource_init(void)
plldiv = G_BCM1480_SYS_PLL_DIV(__raw_readq(IOADDR(A_SCD_SYSTEM_CFG)));
zbbus = ((plldiv >> 1) * 50000000) + ((plldiv & 1) * 25000000);
- clocksource_set_clock(cs, zbbus);
- clocksource_register(cs);
+ clocksource_register_hz(cs, zbbus);
}