diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-07-09 22:38:56 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-07-13 22:26:17 +0200 |
commit | 54d0a216f40e060ba4265bb851cc36b3ca55d1a8 (patch) | |
tree | a57ecc2da68fea0989c397bd97ebd38e93fee569 /arch/mips/qemu | |
parent | [MIPS] Nuke redeclarations of board_time_init. (diff) | |
download | linux-54d0a216f40e060ba4265bb851cc36b3ca55d1a8.tar.xz linux-54d0a216f40e060ba4265bb851cc36b3ca55d1a8.zip |
[MIPS] Replace board_timer_setup function pointer by plat_timer_setup.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
Diffstat (limited to 'arch/mips/qemu')
-rw-r--r-- | arch/mips/qemu/q-setup.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/qemu/q-setup.c b/arch/mips/qemu/q-setup.c index e100d6072e31..841394336f00 100644 --- a/arch/mips/qemu/q-setup.c +++ b/arch/mips/qemu/q-setup.c @@ -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(); } |