diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2006-07-02 09:41:42 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2006-07-13 16:25:58 -0400 |
commit | 94dee171df34b7955cd647da4c40ba67d55a7671 (patch) | |
tree | 4f4cb8c8d5e37a7bc33457ffff5caff85376037f /arch/mips/tx4927 | |
parent | e1e80b4d24eddd1a76cd386e25164cf159661bd6 (diff) |
[MIPS] Eleminate interrupt migration helper use.
> #define hw_interrupt_type irq_chip
> typedef struct irq_chip hw_irq_controller;
> #define no_irq_type no_irq_chip
> typedef struct irq_desc irq_desc_t;
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/tx4927')
-rw-r--r-- | arch/mips/tx4927/common/tx4927_irq.c | 4 | ||||
-rw-r--r-- | arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c | 4 |
2 files changed, 4 insertions, 4 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/toshiba_rbtx4927/toshiba_rbtx4927_irq.c b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c index ec0a0de3083d..b0f021f2a6c4 100644 --- a/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c +++ b/arch/mips/tx4927/toshiba_rbtx4927/toshiba_rbtx4927_irq.c | |||
@@ -251,7 +251,7 @@ static DEFINE_SPINLOCK(toshiba_rbtx4927_ioc_lock); | |||
251 | 251 | ||
252 | 252 | ||
253 | #define TOSHIBA_RBTX4927_IOC_NAME "RBTX4927-IOC" | 253 | #define TOSHIBA_RBTX4927_IOC_NAME "RBTX4927-IOC" |
254 | static struct hw_interrupt_type toshiba_rbtx4927_irq_ioc_type = { | 254 | static struct irq_chip toshiba_rbtx4927_irq_ioc_type = { |
255 | .typename = TOSHIBA_RBTX4927_IOC_NAME, | 255 | .typename = TOSHIBA_RBTX4927_IOC_NAME, |
256 | .startup = toshiba_rbtx4927_irq_ioc_startup, | 256 | .startup = toshiba_rbtx4927_irq_ioc_startup, |
257 | .shutdown = toshiba_rbtx4927_irq_ioc_shutdown, | 257 | .shutdown = toshiba_rbtx4927_irq_ioc_shutdown, |
@@ -267,7 +267,7 @@ static struct hw_interrupt_type toshiba_rbtx4927_irq_ioc_type = { | |||
267 | 267 | ||
268 | #ifdef CONFIG_TOSHIBA_FPCIB0 | 268 | #ifdef CONFIG_TOSHIBA_FPCIB0 |
269 | #define TOSHIBA_RBTX4927_ISA_NAME "RBTX4927-ISA" | 269 | #define TOSHIBA_RBTX4927_ISA_NAME "RBTX4927-ISA" |
270 | static struct hw_interrupt_type toshiba_rbtx4927_irq_isa_type = { | 270 | static struct irq_chip toshiba_rbtx4927_irq_isa_type = { |
271 | .typename = TOSHIBA_RBTX4927_ISA_NAME, | 271 | .typename = TOSHIBA_RBTX4927_ISA_NAME, |
272 | .startup = toshiba_rbtx4927_irq_isa_startup, | 272 | .startup = toshiba_rbtx4927_irq_isa_startup, |
273 | .shutdown = toshiba_rbtx4927_irq_isa_shutdown, | 273 | .shutdown = toshiba_rbtx4927_irq_isa_shutdown, |