From: Vitaly Wool Date: Fri, 22 Dec 2006 09:08:24 +0000 (-0800) Subject: [PATCH] smc911x: fix netpoll compilation faliure X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b6d2efed2f4cfa07827d3e497655ce91dd97866;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [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 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) 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