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/tx4938 | |
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/tx4938')
-rw-r--r-- | arch/mips/tx4938/common/setup.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/mips/tx4938/common/setup.c b/arch/mips/tx4938/common/setup.c index ef59a5cffc69..71859c4fee84 100644 --- a/arch/mips/tx4938/common/setup.c +++ b/arch/mips/tx4938/common/setup.c | |||
@@ -39,7 +39,6 @@ extern void rbtx4938_time_init(void); | |||
39 | 39 | ||
40 | void __init tx4938_setup(void); | 40 | void __init tx4938_setup(void); |
41 | void __init tx4938_time_init(void); | 41 | void __init tx4938_time_init(void); |
42 | void __init tx4938_timer_setup(struct irqaction *irq); | ||
43 | void dump_cp0(char *key); | 42 | void dump_cp0(char *key); |
44 | 43 | ||
45 | void (*__wbflush) (void); | 44 | void (*__wbflush) (void); |
@@ -64,7 +63,6 @@ void __init | |||
64 | plat_mem_setup(void) | 63 | plat_mem_setup(void) |
65 | { | 64 | { |
66 | board_time_init = tx4938_time_init; | 65 | board_time_init = tx4938_time_init; |
67 | board_timer_setup = tx4938_timer_setup; | ||
68 | __wbflush = tx4938_write_buffer_flush; | 66 | __wbflush = tx4938_write_buffer_flush; |
69 | toshiba_rbtx4938_setup(); | 67 | toshiba_rbtx4938_setup(); |
70 | } | 68 | } |
@@ -75,8 +73,7 @@ tx4938_time_init(void) | |||
75 | rbtx4938_time_init(); | 73 | rbtx4938_time_init(); |
76 | } | 74 | } |
77 | 75 | ||
78 | void __init | 76 | void __init plat_timer_setup(struct irqaction *irq) |
79 | tx4938_timer_setup(struct irqaction *irq) | ||
80 | { | 77 | { |
81 | u32 count; | 78 | u32 count; |
82 | u32 c1; | 79 | u32 c1; |