diff options
Diffstat (limited to 'drivers/parisc/eisa.c')
-rw-r--r-- | drivers/parisc/eisa.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/parisc/eisa.c b/drivers/parisc/eisa.c index 46f503fb7fc5..585417702211 100644 --- a/drivers/parisc/eisa.c +++ b/drivers/parisc/eisa.c | |||
@@ -233,7 +233,7 @@ static irqreturn_t eisa_irq(int wax_irq, void *intr_dev) | |||
233 | } | 233 | } |
234 | spin_unlock_irqrestore(&eisa_irq_lock, flags); | 234 | spin_unlock_irqrestore(&eisa_irq_lock, flags); |
235 | 235 | ||
236 | __do_IRQ(irq); | 236 | generic_handle_irq(irq); |
237 | 237 | ||
238 | spin_lock_irqsave(&eisa_irq_lock, flags); | 238 | spin_lock_irqsave(&eisa_irq_lock, flags); |
239 | /* unmask */ | 239 | /* unmask */ |
@@ -346,10 +346,10 @@ static int __init eisa_probe(struct parisc_device *dev) | |||
346 | } | 346 | } |
347 | 347 | ||
348 | /* Reserve IRQ2 */ | 348 | /* Reserve IRQ2 */ |
349 | irq_to_desc(2)->action = &irq2_action; | 349 | setup_irq(2, &irq2_action); |
350 | |||
351 | for (i = 0; i < 16; i++) { | 350 | for (i = 0; i < 16; i++) { |
352 | irq_to_desc(i)->chip = &eisa_interrupt_type; | 351 | set_irq_chip_and_handler(i, &eisa_interrupt_type, |
352 | parisc_do_IRQ); | ||
353 | } | 353 | } |
354 | 354 | ||
355 | EISA_bus = 1; | 355 | EISA_bus = 1; |