diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-07-09 16:38:56 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-07-13 16:26:17 -0400 |
commit | 54d0a216f40e060ba4265bb851cc36b3ca55d1a8 (patch) | |
tree | a57ecc2da68fea0989c397bd97ebd38e93fee569 /arch/mips/sgi-ip32/ip32-setup.c | |
parent | 2c70df5b9807293705d8123d1f36579831ac09eb (diff) |
[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/sgi-ip32/ip32-setup.c')
-rw-r--r-- | arch/mips/sgi-ip32/ip32-setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sgi-ip32/ip32-setup.c b/arch/mips/sgi-ip32/ip32-setup.c index 240a2f981d08..57708fe28bd7 100644 --- a/arch/mips/sgi-ip32/ip32-setup.c +++ b/arch/mips/sgi-ip32/ip32-setup.c | |||
@@ -7,6 +7,7 @@ | |||
7 | * | 7 | * |
8 | * Copyright (C) 2000 Harald Koerfgen | 8 | * Copyright (C) 2000 Harald Koerfgen |
9 | * Copyright (C) 2002, 2003, 2005 Ilya A. Volynets | 9 | * Copyright (C) 2002, 2003, 2005 Ilya A. Volynets |
10 | * Copyright (C) 2006 Ralf Baechle <ralf@linux-mips.org> | ||
10 | */ | 11 | */ |
11 | #include <linux/console.h> | 12 | #include <linux/console.h> |
12 | #include <linux/init.h> | 13 | #include <linux/init.h> |
@@ -80,7 +81,7 @@ void __init ip32_time_init(void) | |||
80 | printk("%d MHz CPU detected\n", mips_hpt_frequency * 2 / 1000000); | 81 | printk("%d MHz CPU detected\n", mips_hpt_frequency * 2 / 1000000); |
81 | } | 82 | } |
82 | 83 | ||
83 | void __init ip32_timer_setup(struct irqaction *irq) | 84 | void __init plat_timer_setup(struct irqaction *irq) |
84 | { | 85 | { |
85 | irq->handler = no_action; | 86 | irq->handler = no_action; |
86 | setup_irq(IP32_R4K_TIMER_IRQ, irq); | 87 | setup_irq(IP32_R4K_TIMER_IRQ, irq); |
@@ -94,7 +95,6 @@ void __init plat_mem_setup(void) | |||
94 | rtc_mips_set_mmss = mc146818_set_rtc_mmss; | 95 | rtc_mips_set_mmss = mc146818_set_rtc_mmss; |
95 | 96 | ||
96 | board_time_init = ip32_time_init; | 97 | board_time_init = ip32_time_init; |
97 | board_timer_setup = ip32_timer_setup; | ||
98 | 98 | ||
99 | #ifdef CONFIG_SERIAL_8250 | 99 | #ifdef CONFIG_SERIAL_8250 |
100 | { | 100 | { |