From: Kars de Jong Date: Sat, 9 Dec 2006 09:51:03 +0000 (+0100) Subject: [PATCH] Amiga PCMCIA NE2000 Ethernet dev->irq init X-Git-Tag: v2.6.20-rc1~34^2~22 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8a53b358257625778387925165eaa97839b2f52;p=linux-2.6 [PATCH] Amiga PCMCIA NE2000 Ethernet dev->irq init Amiga PCMCIA NE2000 Ethernet: Add missing initialization of dev->irq Signed-off-by: Kars de Jong Signed-off-by: Geert Uytterhoeven Signed-off-by: Linus Torvalds --- diff --git a/drivers/net/apne.c b/drivers/net/apne.c index d4e4081690..954191119d 100644 --- a/drivers/net/apne.c +++ b/drivers/net/apne.c @@ -311,9 +311,10 @@ static int __init apne_probe1(struct net_device *dev, int ioaddr) #endif dev->base_addr = ioaddr; + dev->irq = IRQ_AMIGA_PORTS; /* Install the Interrupt handler */ - i = request_irq(IRQ_AMIGA_PORTS, apne_interrupt, IRQF_SHARED, DRV_NAME, dev); + i = request_irq(dev->irq, apne_interrupt, IRQF_SHARED, DRV_NAME, dev); if (i) return i; for(i = 0; i < ETHER_ADDR_LEN; i++) {