diff options
Diffstat (limited to 'drivers/net/8390.c')
-rw-r--r-- | drivers/net/8390.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/8390.c b/drivers/net/8390.c index 9d34056147ad..fa3442cb1a49 100644 --- a/drivers/net/8390.c +++ b/drivers/net/8390.c | |||
@@ -391,7 +391,6 @@ static int ei_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
391 | * ei_interrupt - handle the interrupts from an 8390 | 391 | * ei_interrupt - handle the interrupts from an 8390 |
392 | * @irq: interrupt number | 392 | * @irq: interrupt number |
393 | * @dev_id: a pointer to the net_device | 393 | * @dev_id: a pointer to the net_device |
394 | * @regs: unused | ||
395 | * | 394 | * |
396 | * Handle the ether interface interrupts. We pull packets from | 395 | * Handle the ether interface interrupts. We pull packets from |
397 | * the 8390 via the card specific functions and fire them at the networking | 396 | * the 8390 via the card specific functions and fire them at the networking |
@@ -400,7 +399,7 @@ static int ei_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
400 | * needed. | 399 | * needed. |
401 | */ | 400 | */ |
402 | 401 | ||
403 | irqreturn_t ei_interrupt(int irq, void *dev_id, struct pt_regs * regs) | 402 | irqreturn_t ei_interrupt(int irq, void *dev_id) |
404 | { | 403 | { |
405 | struct net_device *dev = dev_id; | 404 | struct net_device *dev = dev_id; |
406 | long e8390_base; | 405 | long e8390_base; |
@@ -506,7 +505,7 @@ irqreturn_t ei_interrupt(int irq, void *dev_id, struct pt_regs * regs) | |||
506 | void ei_poll(struct net_device *dev) | 505 | void ei_poll(struct net_device *dev) |
507 | { | 506 | { |
508 | disable_irq_lockdep(dev->irq); | 507 | disable_irq_lockdep(dev->irq); |
509 | ei_interrupt(dev->irq, dev, NULL); | 508 | ei_interrupt(dev->irq, dev); |
510 | enable_irq_lockdep(dev->irq); | 509 | enable_irq_lockdep(dev->irq); |
511 | } | 510 | } |
512 | #endif | 511 | #endif |