From: Vitaly Wool Date: Fri, 22 Dec 2006 09:08:24 +0000 (-0800) Subject: [PATCH] smc911x: fix netpoll compilation faliure X-Git-Tag: v2.6.20-rc2~42 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b6d2efed2f4cfa07827d3e497655ce91dd97866;p=linux-2.6 [PATCH] smc911x: fix netpoll compilation faliure Fix the compilation failure for smc911x.c when NET_POLL_CONTROLLER is set. Signed-off-by: Vitaly Wool Cc: Jeff Garzik Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/net/smc911x.c b/drivers/net/smc911x.c index 2c4343395a..797ab9125e 100644 --- a/drivers/net/smc911x.c +++ b/drivers/net/smc911x.c @@ -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