[MIPS] Replace board_timer_setup function pointer by plat_timer_setup.
[linux-drm-fsl-dcu.git] / arch / mips / momentum / ocelot_3 / setup.c
index 8c53490ba6f10acdb2c69a536dcacaac7f20ed29..435d0787329ebba91867c2fea4ab4b326328531e 100644 (file)
@@ -197,7 +197,7 @@ int m48t37y_set_time(unsigned long sec)
        return 0;
 }
 
-void momenco_timer_setup(struct irqaction *irq)
+void __init plat_timer_setup(struct irqaction *irq)
 {
        setup_irq(7, irq);      /* Timer interrupt, unmask status IM7 */
 }
@@ -211,7 +211,6 @@ void momenco_time_init(void)
         * the Rm7900 and the Rm7065C
         */
        mips_hpt_frequency = cpu_clock / 2;
-       board_timer_setup = momenco_timer_setup;
 
        rtc_mips_get_time = m48t37y_get_time;
        rtc_mips_set_time = m48t37y_set_time;