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/ite-boards | |
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/ite-boards')
-rw-r--r-- | arch/mips/ite-boards/generic/it8172_setup.c | 2 | ||||
-rw-r--r-- | arch/mips/ite-boards/generic/time.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/arch/mips/ite-boards/generic/it8172_setup.c b/arch/mips/ite-boards/generic/it8172_setup.c index 0c657b4efaee..07faf3cacff2 100644 --- a/arch/mips/ite-boards/generic/it8172_setup.c +++ b/arch/mips/ite-boards/generic/it8172_setup.c | |||
@@ -60,7 +60,6 @@ extern void it8172_halt(void); | |||
60 | extern void it8172_power_off(void); | 60 | extern void it8172_power_off(void); |
61 | 61 | ||
62 | extern void it8172_time_init(void); | 62 | extern void it8172_time_init(void); |
63 | extern void it8172_timer_setup(struct irqaction *irq); | ||
64 | 63 | ||
65 | #ifdef CONFIG_IT8172_REVC | 64 | #ifdef CONFIG_IT8172_REVC |
66 | struct { | 65 | struct { |
@@ -168,7 +167,6 @@ void __init plat_mem_setup(void) | |||
168 | clear_c0_status(ST0_FR); | 167 | clear_c0_status(ST0_FR); |
169 | 168 | ||
170 | board_time_init = it8172_time_init; | 169 | board_time_init = it8172_time_init; |
171 | board_timer_setup = it8172_timer_setup; | ||
172 | 170 | ||
173 | _machine_restart = it8172_restart; | 171 | _machine_restart = it8172_restart; |
174 | _machine_halt = it8172_halt; | 172 | _machine_halt = it8172_halt; |
diff --git a/arch/mips/ite-boards/generic/time.c b/arch/mips/ite-boards/generic/time.c index dee497a91807..3dc55569ff7f 100644 --- a/arch/mips/ite-boards/generic/time.c +++ b/arch/mips/ite-boards/generic/time.c | |||
@@ -233,7 +233,8 @@ void __init it8172_time_init(void) | |||
233 | } | 233 | } |
234 | 234 | ||
235 | #define ALLINTS (IE_IRQ0 | IE_IRQ1 | IE_IRQ2 | IE_IRQ3 | IE_IRQ4 | IE_IRQ5) | 235 | #define ALLINTS (IE_IRQ0 | IE_IRQ1 | IE_IRQ2 | IE_IRQ3 | IE_IRQ4 | IE_IRQ5) |
236 | void __init it8172_timer_setup(struct irqaction *irq) | 236 | |
237 | void __init plat_timer_setup(struct irqaction *irq) | ||
237 | { | 238 | { |
238 | puts("timer_setup\n"); | 239 | puts("timer_setup\n"); |
239 | put32(NR_IRQS); | 240 | put32(NR_IRQS); |