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/momentum/ocelot_3/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/momentum/ocelot_3/setup.c')
-rw-r--r-- | arch/mips/momentum/ocelot_3/setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/mips/momentum/ocelot_3/setup.c b/arch/mips/momentum/ocelot_3/setup.c index 8c53490ba6f1..435d0787329e 100644 --- a/arch/mips/momentum/ocelot_3/setup.c +++ b/arch/mips/momentum/ocelot_3/setup.c | |||
@@ -197,7 +197,7 @@ int m48t37y_set_time(unsigned long sec) | |||
197 | return 0; | 197 | return 0; |
198 | } | 198 | } |
199 | 199 | ||
200 | void momenco_timer_setup(struct irqaction *irq) | 200 | void __init plat_timer_setup(struct irqaction *irq) |
201 | { | 201 | { |
202 | setup_irq(7, irq); /* Timer interrupt, unmask status IM7 */ | 202 | setup_irq(7, irq); /* Timer interrupt, unmask status IM7 */ |
203 | } | 203 | } |
@@ -211,7 +211,6 @@ void momenco_time_init(void) | |||
211 | * the Rm7900 and the Rm7065C | 211 | * the Rm7900 and the Rm7065C |
212 | */ | 212 | */ |
213 | mips_hpt_frequency = cpu_clock / 2; | 213 | mips_hpt_frequency = cpu_clock / 2; |
214 | board_timer_setup = momenco_timer_setup; | ||
215 | 214 | ||
216 | rtc_mips_get_time = m48t37y_get_time; | 215 | rtc_mips_get_time = m48t37y_get_time; |
217 | rtc_mips_set_time = m48t37y_set_time; | 216 | rtc_mips_set_time = m48t37y_set_time; |