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/au1000/common | |
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/au1000/common')
-rw-r--r-- | arch/mips/au1000/common/setup.c | 2 | ||||
-rw-r--r-- | arch/mips/au1000/common/time.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/mips/au1000/common/setup.c b/arch/mips/au1000/common/setup.c index cc5138ce9c95..377ae0d8ff00 100644 --- a/arch/mips/au1000/common/setup.c +++ b/arch/mips/au1000/common/setup.c | |||
@@ -51,7 +51,6 @@ extern void au1000_power_off(void); | |||
51 | extern void au1x_time_init(void); | 51 | extern void au1x_time_init(void); |
52 | extern void au1x_timer_setup(struct irqaction *irq); | 52 | extern void au1x_timer_setup(struct irqaction *irq); |
53 | extern void au1xxx_time_init(void); | 53 | extern void au1xxx_time_init(void); |
54 | extern void au1xxx_timer_setup(struct irqaction *irq); | ||
55 | extern void set_cpuspec(void); | 54 | extern void set_cpuspec(void); |
56 | 55 | ||
57 | void __init plat_mem_setup(void) | 56 | void __init plat_mem_setup(void) |
@@ -123,7 +122,6 @@ void __init plat_mem_setup(void) | |||
123 | _machine_halt = au1000_halt; | 122 | _machine_halt = au1000_halt; |
124 | pm_power_off = au1000_power_off; | 123 | pm_power_off = au1000_power_off; |
125 | board_time_init = au1xxx_time_init; | 124 | board_time_init = au1xxx_time_init; |
126 | board_timer_setup = au1xxx_timer_setup; | ||
127 | 125 | ||
128 | /* IO/MEM resources. */ | 126 | /* IO/MEM resources. */ |
129 | set_io_port_base(0); | 127 | set_io_port_base(0); |
diff --git a/arch/mips/au1000/common/time.c b/arch/mips/au1000/common/time.c index 7e988b0b0130..7fbea1bf7b48 100644 --- a/arch/mips/au1000/common/time.c +++ b/arch/mips/au1000/common/time.c | |||
@@ -383,7 +383,7 @@ static unsigned long do_fast_pm_gettimeoffset(void) | |||
383 | } | 383 | } |
384 | #endif | 384 | #endif |
385 | 385 | ||
386 | void __init au1xxx_timer_setup(struct irqaction *irq) | 386 | void __init plat_timer_setup(struct irqaction *irq) |
387 | { | 387 | { |
388 | unsigned int est_freq; | 388 | unsigned int est_freq; |
389 | 389 | ||