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/kernel/time.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/kernel/time.c')
-rw-r--r-- | arch/mips/kernel/time.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c index 2393c11d5a20..170cb67f4ede 100644 --- a/arch/mips/kernel/time.c +++ b/arch/mips/kernel/time.c | |||
@@ -566,14 +566,13 @@ asmlinkage void ll_local_timer_interrupt(int irq, struct pt_regs *regs) | |||
566 | * 2) setup xtime based on rtc_mips_get_time(). | 566 | * 2) setup xtime based on rtc_mips_get_time(). |
567 | * 3) choose a appropriate gettimeoffset routine. | 567 | * 3) choose a appropriate gettimeoffset routine. |
568 | * 4) calculate a couple of cached variables for later usage | 568 | * 4) calculate a couple of cached variables for later usage |
569 | * 5) board_timer_setup() - | 569 | * 5) plat_timer_setup() - |
570 | * a) (optional) over-write any choices made above by time_init(). | 570 | * a) (optional) over-write any choices made above by time_init(). |
571 | * b) machine specific code should setup the timer irqaction. | 571 | * b) machine specific code should setup the timer irqaction. |
572 | * c) enable the timer interrupt | 572 | * c) enable the timer interrupt |
573 | */ | 573 | */ |
574 | 574 | ||
575 | void (*board_time_init)(void); | 575 | void (*board_time_init)(void); |
576 | void (*board_timer_setup)(struct irqaction *irq); | ||
577 | 576 | ||
578 | unsigned int mips_hpt_frequency; | 577 | unsigned int mips_hpt_frequency; |
579 | 578 | ||
@@ -718,7 +717,7 @@ void __init time_init(void) | |||
718 | * to be NULL function so that we are sure the high-level code | 717 | * to be NULL function so that we are sure the high-level code |
719 | * is not invoked accidentally. | 718 | * is not invoked accidentally. |
720 | */ | 719 | */ |
721 | board_timer_setup(&timer_irqaction); | 720 | plat_timer_setup(&timer_irqaction); |
722 | } | 721 | } |
723 | 722 | ||
724 | #define FEBRUARY 2 | 723 | #define FEBRUARY 2 |