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-ip22 | |
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-ip22')
-rw-r--r-- | arch/mips/sgi-ip22/ip22-time.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/mips/sgi-ip22/ip22-time.c b/arch/mips/sgi-ip22/ip22-time.c index 0bae605201c4..4aeb4c55e184 100644 --- a/arch/mips/sgi-ip22/ip22-time.c +++ b/arch/mips/sgi-ip22/ip22-time.c | |||
@@ -7,7 +7,7 @@ | |||
7 | * Ralf Baechle or David S. Miller (sorry guys, i'm really not sure) | 7 | * Ralf Baechle or David S. Miller (sorry guys, i'm really not sure) |
8 | * | 8 | * |
9 | * Copyright (C) 2001 by Ladislav Michl | 9 | * Copyright (C) 2001 by Ladislav Michl |
10 | * Copyright (C) 2003 Ralf Baechle (ralf@linux-mips.org) | 10 | * Copyright (C) 2003, 06 Ralf Baechle (ralf@linux-mips.org) |
11 | */ | 11 | */ |
12 | #include <linux/bcd.h> | 12 | #include <linux/bcd.h> |
13 | #include <linux/ds1286.h> | 13 | #include <linux/ds1286.h> |
@@ -199,7 +199,7 @@ void indy_r4k_timer_interrupt(struct pt_regs *regs) | |||
199 | irq_exit(); | 199 | irq_exit(); |
200 | } | 200 | } |
201 | 201 | ||
202 | static void indy_timer_setup(struct irqaction *irq) | 202 | void __init plat_timer_setup(struct irqaction *irq) |
203 | { | 203 | { |
204 | /* over-write the handler, we use our own way */ | 204 | /* over-write the handler, we use our own way */ |
205 | irq->handler = no_action; | 205 | irq->handler = no_action; |
@@ -215,5 +215,4 @@ void __init ip22_time_init(void) | |||
215 | rtc_mips_set_time = indy_rtc_set_time; | 215 | rtc_mips_set_time = indy_rtc_set_time; |
216 | 216 | ||
217 | board_time_init = indy_time_init; | 217 | board_time_init = indy_time_init; |
218 | board_timer_setup = indy_timer_setup; | ||
219 | } | 218 | } |