]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/parisc/eisa.c
generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[]
[linux-2.6-omap-h63xx.git] / drivers / parisc / eisa.c
index 771cef592542fd75182b69a1e6d324c8fdc63d7b..7891db50c483bc6e6def22133ae78e17cc97da50 100644 (file)
@@ -346,10 +346,10 @@ static int __init eisa_probe(struct parisc_device *dev)
        }
        
        /* Reserve IRQ2 */
-       irq_desc[2].action = &irq2_action;
+       irq_to_desc(2)->action = &irq2_action;
        
        for (i = 0; i < 16; i++) {
-               irq_desc[i].chip = &eisa_interrupt_type;
+               irq_to_desc(i)->chip = &eisa_interrupt_type;
        }
        
        EISA_bus = 1;