X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fparisc%2Feisa.c;h=7891db50c483bc6e6def22133ae78e17cc97da50;hb=061e41fdb5047b1fb161e89664057835935ca1d2;hp=771cef592542fd75182b69a1e6d324c8fdc63d7b;hpb=4cc21505a09354ade787de368bd697a1bba3b213;p=linux-2.6-omap-h63xx.git 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;