| .. | .. |
|---|
| 92 | 92 | return IRQ_NONE; |
|---|
| 93 | 93 | } |
|---|
| 94 | 94 | |
|---|
| 95 | | -static struct irqaction eisa_action = { |
|---|
| 96 | | - .handler = ip22_eisa_intr, |
|---|
| 97 | | - .name = "EISA", |
|---|
| 98 | | -}; |
|---|
| 99 | | - |
|---|
| 100 | 95 | int __init ip22_eisa_init(void) |
|---|
| 101 | 96 | { |
|---|
| 102 | 97 | int i, c; |
|---|
| .. | .. |
|---|
| 136 | 131 | |
|---|
| 137 | 132 | init_i8259_irqs(); |
|---|
| 138 | 133 | |
|---|
| 139 | | - /* Cannot use request_irq because of kmalloc not being ready at such |
|---|
| 140 | | - * an early stage. Yes, I've been bitten... */ |
|---|
| 141 | | - setup_irq(SGI_EISA_IRQ, &eisa_action); |
|---|
| 134 | + if (request_irq(SGI_EISA_IRQ, ip22_eisa_intr, 0, "EISA", NULL)) |
|---|
| 135 | + pr_err("Failed to request irq %d (EISA)\n", SGI_EISA_IRQ); |
|---|
| 142 | 136 | |
|---|
| 143 | 137 | EISA_bus = 1; |
|---|
| 144 | 138 | return 0; |
|---|