hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/mips/sgi-ip22/ip22-eisa.c
....@@ -92,11 +92,6 @@
9292 return IRQ_NONE;
9393 }
9494
95
-static struct irqaction eisa_action = {
96
- .handler = ip22_eisa_intr,
97
- .name = "EISA",
98
-};
99
-
10095 int __init ip22_eisa_init(void)
10196 {
10297 int i, c;
....@@ -136,9 +131,8 @@
136131
137132 init_i8259_irqs();
138133
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);
142136
143137 EISA_bus = 1;
144138 return 0;