diff options
Diffstat (limited to 'arch/mips/tx4927/common')
-rw-r--r-- | arch/mips/tx4927/common/tx4927_irq.c | 4 | ||||
-rw-r--r-- | arch/mips/tx4927/common/tx4927_setup.c | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/arch/mips/tx4927/common/tx4927_irq.c b/arch/mips/tx4927/common/tx4927_irq.c index ae9d5653a863..cd176f6a06c8 100644 --- a/arch/mips/tx4927/common/tx4927_irq.c +++ b/arch/mips/tx4927/common/tx4927_irq.c | |||
@@ -146,7 +146,7 @@ static DEFINE_SPINLOCK(tx4927_cp0_lock); | |||
146 | static DEFINE_SPINLOCK(tx4927_pic_lock); | 146 | static DEFINE_SPINLOCK(tx4927_pic_lock); |
147 | 147 | ||
148 | #define TX4927_CP0_NAME "TX4927-CP0" | 148 | #define TX4927_CP0_NAME "TX4927-CP0" |
149 | static struct hw_interrupt_type tx4927_irq_cp0_type = { | 149 | static struct irq_chip tx4927_irq_cp0_type = { |
150 | .typename = TX4927_CP0_NAME, | 150 | .typename = TX4927_CP0_NAME, |
151 | .startup = tx4927_irq_cp0_startup, | 151 | .startup = tx4927_irq_cp0_startup, |
152 | .shutdown = tx4927_irq_cp0_shutdown, | 152 | .shutdown = tx4927_irq_cp0_shutdown, |
@@ -158,7 +158,7 @@ static struct hw_interrupt_type tx4927_irq_cp0_type = { | |||
158 | }; | 158 | }; |
159 | 159 | ||
160 | #define TX4927_PIC_NAME "TX4927-PIC" | 160 | #define TX4927_PIC_NAME "TX4927-PIC" |
161 | static struct hw_interrupt_type tx4927_irq_pic_type = { | 161 | static struct irq_chip tx4927_irq_pic_type = { |
162 | .typename = TX4927_PIC_NAME, | 162 | .typename = TX4927_PIC_NAME, |
163 | .startup = tx4927_irq_pic_startup, | 163 | .startup = tx4927_irq_pic_startup, |
164 | .shutdown = tx4927_irq_pic_shutdown, | 164 | .shutdown = tx4927_irq_pic_shutdown, |
diff --git a/arch/mips/tx4927/common/tx4927_setup.c b/arch/mips/tx4927/common/tx4927_setup.c index 64a1b394b252..3ace4037343e 100644 --- a/arch/mips/tx4927/common/tx4927_setup.c +++ b/arch/mips/tx4927/common/tx4927_setup.c | |||
@@ -50,7 +50,6 @@ | |||
50 | #undef DEBUG | 50 | #undef DEBUG |
51 | 51 | ||
52 | void __init tx4927_time_init(void); | 52 | void __init tx4927_time_init(void); |
53 | void __init tx4927_timer_setup(struct irqaction *irq); | ||
54 | void dump_cp0(char *key); | 53 | void dump_cp0(char *key); |
55 | 54 | ||
56 | 55 | ||
@@ -66,7 +65,6 @@ static void tx4927_write_buffer_flush(void) | |||
66 | void __init plat_mem_setup(void) | 65 | void __init plat_mem_setup(void) |
67 | { | 66 | { |
68 | board_time_init = tx4927_time_init; | 67 | board_time_init = tx4927_time_init; |
69 | board_timer_setup = tx4927_timer_setup; | ||
70 | __wbflush = tx4927_write_buffer_flush; | 68 | __wbflush = tx4927_write_buffer_flush; |
71 | 69 | ||
72 | #ifdef CONFIG_TOSHIBA_RBTX4927 | 70 | #ifdef CONFIG_TOSHIBA_RBTX4927 |
@@ -91,7 +89,7 @@ void __init tx4927_time_init(void) | |||
91 | } | 89 | } |
92 | 90 | ||
93 | 91 | ||
94 | void __init tx4927_timer_setup(struct irqaction *irq) | 92 | void __init plat_timer_setup(struct irqaction *irq) |
95 | { | 93 | { |
96 | u32 count; | 94 | u32 count; |
97 | u32 c1; | 95 | u32 c1; |