diff options
Diffstat (limited to 'drivers/net/8139cp.c')
-rw-r--r-- | drivers/net/8139cp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/8139cp.c b/drivers/net/8139cp.c index 5a4990ae3730..458dd9f830c4 100644 --- a/drivers/net/8139cp.c +++ b/drivers/net/8139cp.c | |||
@@ -631,8 +631,7 @@ rx_next: | |||
631 | return 1; /* not done */ | 631 | return 1; /* not done */ |
632 | } | 632 | } |
633 | 633 | ||
634 | static irqreturn_t | 634 | static irqreturn_t cp_interrupt (int irq, void *dev_instance) |
635 | cp_interrupt (int irq, void *dev_instance, struct pt_regs *regs) | ||
636 | { | 635 | { |
637 | struct net_device *dev = dev_instance; | 636 | struct net_device *dev = dev_instance; |
638 | struct cp_private *cp; | 637 | struct cp_private *cp; |
@@ -696,7 +695,7 @@ cp_interrupt (int irq, void *dev_instance, struct pt_regs *regs) | |||
696 | static void cp_poll_controller(struct net_device *dev) | 695 | static void cp_poll_controller(struct net_device *dev) |
697 | { | 696 | { |
698 | disable_irq(dev->irq); | 697 | disable_irq(dev->irq); |
699 | cp_interrupt(dev->irq, dev, NULL); | 698 | cp_interrupt(dev->irq, dev); |
700 | enable_irq(dev->irq); | 699 | enable_irq(dev->irq); |
701 | } | 700 | } |
702 | #endif | 701 | #endif |