[MIPS] Replace board_timer_setup function pointer by plat_timer_setup.

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

---
This commit is contained in:
Ralf Baechle
2006-07-09 21:38:56 +01:00
parent 2c70df5b98
commit 54d0a216f4
39 changed files with 40 additions and 97 deletions

View File

@ -11,7 +11,7 @@ const char *get_system_type(void)
return "Qemu";
}
static void __init qemu_timer_setup(struct irqaction *irq)
void __init plat_timer_setup(struct irqaction *irq)
{
/* set the clock to 100 Hz */
outb_p(0x34,0x43); /* binary, mode 2, LSB/MSB, ch 0 */
@ -23,7 +23,5 @@ static void __init qemu_timer_setup(struct irqaction *irq)
void __init plat_mem_setup(void)
{
set_io_port_base(QEMU_PORT_BASE);
board_timer_setup = qemu_timer_setup;
qemu_reboot_setup();
}