[MIPS] Fix EV64120 and Ocelot builds by providing a plat_timer_setup().

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+1 -6
+1 -1
arch/mips/gt64120/common/time.c
··· 64 * as *irq (=irq0 in ../kernel/time.c). We will do our own timer interrupt 65 * handling. 66 */ 67 - void gt64120_time_init(void) 68 { 69 static struct irqaction timer; 70
··· 64 * as *irq (=irq0 in ../kernel/time.c). We will do our own timer interrupt 65 * handling. 66 */ 67 + void __init plat_timer_setup(struct irqaction *irq) 68 { 69 static struct irqaction timer; 70
-2
arch/mips/gt64120/ev64120/setup.c
··· 68 * Initializes basic routines and structures pointers, memory size (as 69 * given by the bios and saves the command line. 70 */ 71 - extern void gt64120_time_init(void); 72 73 void __init plat_mem_setup(void) 74 { ··· 75 _machine_halt = galileo_machine_halt; 76 pm_power_off = galileo_machine_power_off; 77 78 - board_time_init = gt64120_time_init; 79 set_io_port_base(KSEG1); 80 } 81
··· 68 * Initializes basic routines and structures pointers, memory size (as 69 * given by the bios and saves the command line. 70 */ 71 72 void __init plat_mem_setup(void) 73 { ··· 76 _machine_halt = galileo_machine_halt; 77 pm_power_off = galileo_machine_power_off; 78 79 set_io_port_base(KSEG1); 80 } 81
-3
arch/mips/gt64120/momenco_ocelot/setup.c
··· 70 extern void momenco_ocelot_halt(void); 71 extern void momenco_ocelot_power_off(void); 72 73 - extern void gt64120_time_init(void); 74 extern void momenco_ocelot_irq_setup(void); 75 76 static char reset_reason; ··· 154 { 155 void (*l3func)(unsigned long)=KSEG1ADDR(&setup_l3cache); 156 unsigned int tmpword; 157 - 158 - board_time_init = gt64120_time_init; 159 160 _machine_restart = momenco_ocelot_restart; 161 _machine_halt = momenco_ocelot_halt;
··· 70 extern void momenco_ocelot_halt(void); 71 extern void momenco_ocelot_power_off(void); 72 73 extern void momenco_ocelot_irq_setup(void); 74 75 static char reset_reason; ··· 155 { 156 void (*l3func)(unsigned long)=KSEG1ADDR(&setup_l3cache); 157 unsigned int tmpword; 158 159 _machine_restart = momenco_ocelot_restart; 160 _machine_halt = momenco_ocelot_halt;