ll_temac: Fix poll implementation
authorMichal Simek <monstr@monstr.eu>
Wed, 18 Aug 2010 00:26:34 +0000 (00:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 07:46:57 +0000 (00:46 -0700)
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 <monstr@monstr.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ll_temac_main.c

index 4eea3f70c5cf1865415b22b6464635af98858136..09b813f1c3cdc09af9a036a3825e95123c8fb6a4 100644 (file)
@@ -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);