diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/apne.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/apne.c b/drivers/net/apne.c index d4e408169073..954191119d35 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) | |||
311 | #endif | 311 | #endif |
312 | 312 | ||
313 | dev->base_addr = ioaddr; | 313 | dev->base_addr = ioaddr; |
314 | dev->irq = IRQ_AMIGA_PORTS; | ||
314 | 315 | ||
315 | /* Install the Interrupt handler */ | 316 | /* Install the Interrupt handler */ |
316 | i = request_irq(IRQ_AMIGA_PORTS, apne_interrupt, IRQF_SHARED, DRV_NAME, dev); | 317 | i = request_irq(dev->irq, apne_interrupt, IRQF_SHARED, DRV_NAME, dev); |
317 | if (i) return i; | 318 | if (i) return i; |
318 | 319 | ||
319 | for(i = 0; i < ETHER_ADDR_LEN; i++) { | 320 | for(i = 0; i < ETHER_ADDR_LEN; i++) { |