diff options
Diffstat (limited to 'drivers/net/amd8111e.c')
-rw-r--r-- | drivers/net/amd8111e.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/amd8111e.c b/drivers/net/amd8111e.c index 28855a01ed7b..ef65e5917c8f 100644 --- a/drivers/net/amd8111e.c +++ b/drivers/net/amd8111e.c | |||
@@ -1257,7 +1257,7 @@ static int amd8111e_calc_coalesce(struct net_device *dev) | |||
1257 | /* | 1257 | /* |
1258 | This is device interrupt function. It handles transmit, receive,link change and hardware timer interrupts. | 1258 | This is device interrupt function. It handles transmit, receive,link change and hardware timer interrupts. |
1259 | */ | 1259 | */ |
1260 | static irqreturn_t amd8111e_interrupt(int irq, void *dev_id, struct pt_regs *regs) | 1260 | static irqreturn_t amd8111e_interrupt(int irq, void *dev_id) |
1261 | { | 1261 | { |
1262 | 1262 | ||
1263 | struct net_device * dev = (struct net_device *) dev_id; | 1263 | struct net_device * dev = (struct net_device *) dev_id; |
@@ -1336,7 +1336,7 @@ static void amd8111e_poll(struct net_device *dev) | |||
1336 | unsigned long flags; | 1336 | unsigned long flags; |
1337 | local_save_flags(flags); | 1337 | local_save_flags(flags); |
1338 | local_irq_disable(); | 1338 | local_irq_disable(); |
1339 | amd8111e_interrupt(0, dev, NULL); | 1339 | amd8111e_interrupt(0, dev); |
1340 | local_irq_restore(flags); | 1340 | local_irq_restore(flags); |
1341 | } | 1341 | } |
1342 | #endif | 1342 | #endif |