Merge branch 'topic/hdsp' into for-linus
[pandora-kernel.git] / arch / mips / pmc-sierra / msp71xx / msp_time.c
index 2a2beac..cca64e1 100644 (file)
@@ -36,7 +36,7 @@
 #include <msp_int.h>
 #include <msp_regs.h>
 
-void __init msp_timer_init(void)
+void __init plat_time_init(void)
 {
        char    *endp, *s;
        unsigned long cpu_rate = 0;
@@ -81,14 +81,7 @@ void __init msp_timer_init(void)
        mips_hpt_frequency = cpu_rate/2;
 }
 
-
-void __init plat_timer_setup(struct irqaction *irq)
+unsigned int __init get_c0_compare_int(void)
 {
-#ifdef CONFIG_IRQ_MSP_CIC
-       /* we are using the vpe0 counter for timer interrupts */
-       setup_irq(MSP_INT_VPE0_TIMER, irq);
-#else
-       /* we are using the mips counter for timer interrupts */
-       setup_irq(MSP_INT_TIMER, irq);
-#endif
+       return MSP_INT_VPE0_TIMER;
 }