.. | .. |
---|
20 | 20 | #include <asm/irq.h> |
---|
21 | 21 | #include <asm/mmu_context.h> |
---|
22 | 22 | #include <asm/io.h> |
---|
23 | | -#include <asm/pgtable.h> |
---|
24 | 23 | #include <asm/core_wildfire.h> |
---|
25 | 24 | #include <asm/hwrpb.h> |
---|
26 | 25 | #include <asm/tlbflush.h> |
---|
.. | .. |
---|
156 | 155 | wildfire_init_irq_per_pca(int qbbno, int pcano) |
---|
157 | 156 | { |
---|
158 | 157 | int i, irq_bias; |
---|
159 | | - static struct irqaction isa_enable = { |
---|
160 | | - .handler = no_action, |
---|
161 | | - .name = "isa_enable", |
---|
162 | | - }; |
---|
163 | 158 | |
---|
164 | 159 | irq_bias = qbbno * (WILDFIRE_PCA_PER_QBB * WILDFIRE_IRQ_PER_PCA) |
---|
165 | 160 | + pcano * WILDFIRE_IRQ_PER_PCA; |
---|
.. | .. |
---|
198 | 193 | irq_set_status_flags(i + irq_bias, IRQ_LEVEL); |
---|
199 | 194 | } |
---|
200 | 195 | |
---|
201 | | - setup_irq(32+irq_bias, &isa_enable); |
---|
| 196 | + if (request_irq(32 + irq_bias, no_action, 0, "isa_enable", NULL)) |
---|
| 197 | + pr_err("Failed to register isa_enable interrupt\n"); |
---|
202 | 198 | } |
---|
203 | 199 | |
---|
204 | 200 | static void __init |
---|