diff options
author | Michal Simek <monstr@monstr.eu> | 2010-08-17 20:26:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-19 03:46:57 -0400 |
commit | 8539992f6091eb8206c781421312157d0c282e6e (patch) | |
tree | 379410d6a196106fe9121ca59aa236f042fe2b9c | |
parent | 502820a3161e2f228125977d133dd80eea2932d1 (diff) |
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 <monstr@monstr.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ll_temac_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) | |||
902 | disable_irq(lp->tx_irq); | 902 | disable_irq(lp->tx_irq); |
903 | disable_irq(lp->rx_irq); | 903 | disable_irq(lp->rx_irq); |
904 | 904 | ||
905 | ll_temac_rx_irq(lp->tx_irq, lp); | 905 | ll_temac_rx_irq(lp->tx_irq, ndev); |
906 | ll_temac_tx_irq(lp->rx_irq, lp); | 906 | ll_temac_tx_irq(lp->rx_irq, ndev); |
907 | 907 | ||
908 | enable_irq(lp->tx_irq); | 908 | enable_irq(lp->tx_irq); |
909 | enable_irq(lp->rx_irq); | 909 | enable_irq(lp->rx_irq); |