diff options
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) | |||
11 | return "Qemu"; | 11 | return "Qemu"; |
12 | } | 12 | } |
13 | 13 | ||
14 | static void __init qemu_timer_setup(struct irqaction *irq) | 14 | void __init plat_timer_setup(struct irqaction *irq) |
15 | { | 15 | { |
16 | /* set the clock to 100 Hz */ | 16 | /* set the clock to 100 Hz */ |
17 | outb_p(0x34,0x43); /* binary, mode 2, LSB/MSB, ch 0 */ | 17 | outb_p(0x34,0x43); /* binary, mode 2, LSB/MSB, ch 0 */ |
@@ -23,7 +23,5 @@ static void __init qemu_timer_setup(struct irqaction *irq) | |||
23 | void __init plat_mem_setup(void) | 23 | void __init plat_mem_setup(void) |
24 | { | 24 | { |
25 | set_io_port_base(QEMU_PORT_BASE); | 25 | set_io_port_base(QEMU_PORT_BASE); |
26 | board_timer_setup = qemu_timer_setup; | ||
27 | |||
28 | qemu_reboot_setup(); | 26 | qemu_reboot_setup(); |
29 | } | 27 | } |