X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fparisc%2Feisa.c;h=7891db50c483bc6e6def22133ae78e17cc97da50;hb=86d758ef2cb0677b471a88ffe33a29cdfec4ceca;hp=771cef592542fd75182b69a1e6d324c8fdc63d7b;hpb=e00eea42f24550beb9940e641402450f695c888a;p=~andy%2Flinux diff --git a/drivers/parisc/eisa.c b/drivers/parisc/eisa.c index 771cef59254..7891db50c48 100644 --- a/drivers/parisc/eisa.c +++ b/drivers/parisc/eisa.c @@ -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;