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/gt64120 | |
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/gt64120')
-rw-r--r-- | arch/mips/gt64120/ev64120/irq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/gt64120/ev64120/irq.c b/arch/mips/gt64120/ev64120/irq.c index f489a8067a93..5d939ac58f3f 100644 --- a/arch/mips/gt64120/ev64120/irq.c +++ b/arch/mips/gt64120/ev64120/irq.c | |||
@@ -104,7 +104,7 @@ static void end_ev64120_irq(unsigned int irq) | |||
104 | enable_ev64120_irq(irq); | 104 | enable_ev64120_irq(irq); |
105 | } | 105 | } |
106 | 106 | ||
107 | static struct hw_interrupt_type ev64120_irq_type = { | 107 | static struct irq_chip ev64120_irq_type = { |
108 | .typename = "EV64120", | 108 | .typename = "EV64120", |
109 | .startup = startup_ev64120_irq, | 109 | .startup = startup_ev64120_irq, |
110 | .shutdown = shutdown_ev64120_irq, | 110 | .shutdown = shutdown_ev64120_irq, |
@@ -138,7 +138,7 @@ void __init arch_init_irq(void) | |||
138 | /* Let's initialize our IRQ descriptors */ | 138 | /* Let's initialize our IRQ descriptors */ |
139 | for (i = 0; i < NR_IRQS; i++) { | 139 | for (i = 0; i < NR_IRQS; i++) { |
140 | irq_desc[i].status = 0; | 140 | irq_desc[i].status = 0; |
141 | irq_desc[i].chip = &no_irq_type; | 141 | irq_desc[i].chip = &no_irq_chip; |
142 | irq_desc[i].action = NULL; | 142 | irq_desc[i].action = NULL; |
143 | irq_desc[i].depth = 0; | 143 | irq_desc[i].depth = 0; |
144 | spin_lock_init(&irq_desc[i].lock); | 144 | spin_lock_init(&irq_desc[i].lock); |