From: Michal Simek Date: Wed, 18 Aug 2010 00:26:34 +0000 (+0000) Subject: ll_temac: Fix poll implementation X-Git-Tag: MMI-PSA29.97-13-9~22097^2~174 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8539992f6091eb8206c781421312157d0c282e6e;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ll_temac: Fix poll implementation Functions ll_temac_rx_irq and ll_temac_tx_irq have pointer to net_device as second parameter not pointer to temac_local. Signed-off-by: Michal Simek Signed-off-by: David S. Miller --- diff --git a/drivers/net/ll_temac_main.c b/drivers/net/ll_temac_main.c index 4eea3f70c5cf..09b813f1c3cd 100644 --- a/drivers/net/ll_temac_main.c +++ b/drivers/net/ll_temac_main.c @@ -902,8 +902,8 @@ temac_poll_controller(struct net_device *ndev) disable_irq(lp->tx_irq); disable_irq(lp->rx_irq); - ll_temac_rx_irq(lp->tx_irq, lp); - ll_temac_tx_irq(lp->rx_irq, lp); + ll_temac_rx_irq(lp->tx_irq, ndev); + ll_temac_tx_irq(lp->rx_irq, ndev); enable_irq(lp->tx_irq); enable_irq(lp->rx_irq);