Skip to content

Commit

Permalink
[PATCH] smc911x: fix netpoll compilation faliure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vitaly Wool authored and Linus Torvalds committed Dec 22, 2006
1 parent 9d7ac8b commit 9b6d2ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/smc911x.c
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ smc911x_rx_dma_irq(int dma, void *data)
static void smc911x_poll_controller(struct net_device *dev)
{
disable_irq(dev->irq);
smc911x_interrupt(dev->irq, dev, NULL);
smc911x_interrupt(dev->irq, dev);
enable_irq(dev->irq);
}
#endif
Expand Down

0 comments on commit 9b6d2ef

Please sign in to comment.