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/dec | |
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/dec')
-rw-r--r-- | arch/mips/dec/ioasic-irq.c | 4 | ||||
-rw-r--r-- | arch/mips/dec/kn02-irq.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/dec/ioasic-irq.c b/arch/mips/dec/ioasic-irq.c index da2dbb42f913..41cd2a96148b 100644 --- a/arch/mips/dec/ioasic-irq.c +++ b/arch/mips/dec/ioasic-irq.c | |||
@@ -93,7 +93,7 @@ static inline void end_ioasic_irq(unsigned int irq) | |||
93 | enable_ioasic_irq(irq); | 93 | enable_ioasic_irq(irq); |
94 | } | 94 | } |
95 | 95 | ||
96 | static struct hw_interrupt_type ioasic_irq_type = { | 96 | static struct irq_chip ioasic_irq_type = { |
97 | .typename = "IO-ASIC", | 97 | .typename = "IO-ASIC", |
98 | .startup = startup_ioasic_irq, | 98 | .startup = startup_ioasic_irq, |
99 | .shutdown = shutdown_ioasic_irq, | 99 | .shutdown = shutdown_ioasic_irq, |
@@ -121,7 +121,7 @@ static inline void end_ioasic_dma_irq(unsigned int irq) | |||
121 | end_ioasic_irq(irq); | 121 | end_ioasic_irq(irq); |
122 | } | 122 | } |
123 | 123 | ||
124 | static struct hw_interrupt_type ioasic_dma_irq_type = { | 124 | static struct irq_chip ioasic_dma_irq_type = { |
125 | .typename = "IO-ASIC-DMA", | 125 | .typename = "IO-ASIC-DMA", |
126 | .startup = startup_ioasic_dma_irq, | 126 | .startup = startup_ioasic_dma_irq, |
127 | .shutdown = shutdown_ioasic_dma_irq, | 127 | .shutdown = shutdown_ioasic_dma_irq, |
diff --git a/arch/mips/dec/kn02-irq.c b/arch/mips/dec/kn02-irq.c index d44c00d9e80f..04a367a60a57 100644 --- a/arch/mips/dec/kn02-irq.c +++ b/arch/mips/dec/kn02-irq.c | |||
@@ -94,7 +94,7 @@ static void end_kn02_irq(unsigned int irq) | |||
94 | enable_kn02_irq(irq); | 94 | enable_kn02_irq(irq); |
95 | } | 95 | } |
96 | 96 | ||
97 | static struct hw_interrupt_type kn02_irq_type = { | 97 | static struct irq_chip kn02_irq_type = { |
98 | .typename = "KN02-CSR", | 98 | .typename = "KN02-CSR", |
99 | .startup = startup_kn02_irq, | 99 | .startup = startup_kn02_irq, |
100 | .shutdown = shutdown_kn02_irq, | 100 | .shutdown = shutdown_kn02_irq, |