diff options
author | Vitaly Wool <vitalywool@gmail.com> | 2006-12-22 04:08:24 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-22 11:55:48 -0500 |
commit | 9b6d2efed2f4cfa07827d3e497655ce91dd97866 (patch) | |
tree | 572e59d7ebb5576bbb6674acdd49d94707087bcf /drivers/net/smc911x.c | |
parent | 9d7ac8be4b48737ad1cebd94ed754a269f360708 (diff) |
[PATCH] smc911x: fix netpoll compilation faliure
Fix the compilation failure for smc911x.c when NET_POLL_CONTROLLER is set.
Signed-off-by: Vitaly Wool <vitalywool@gmail.com>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/net/smc911x.c')
-rw-r--r-- | drivers/net/smc911x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 2c4343395a4d..797ab9125e72 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c | |||
@@ -1331,7 +1331,7 @@ smc911x_rx_dma_irq(int dma, void *data) | |||
1331 | static void smc911x_poll_controller(struct net_device *dev) | 1331 | static void smc911x_poll_controller(struct net_device *dev) |
1332 | { | 1332 | { |
1333 | disable_irq(dev->irq); | 1333 | disable_irq(dev->irq); |
1334 | smc911x_interrupt(dev->irq, dev, NULL); | 1334 | smc911x_interrupt(dev->irq, dev); |
1335 | enable_irq(dev->irq); | 1335 | enable_irq(dev->irq); |
1336 | } | 1336 | } |
1337 | #endif | 1337 | #endif |