diff options
author | Thierry Reding <thierry.reding@avionic-design.de> | 2013-01-21 13:38:39 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-21 22:12:19 +0400 |
commit | 7373470202a3c98e1a338bf1acf51247cd100868 (patch) | |
tree | 56a4594e1a883cfafdd6058cf0a92e4f2a65e708 /drivers/net/ethernet/ti/davinci_emac.c | |
parent | 825863408a1670035e7105368cbfe8b126290ba1 (diff) | |
download | linux-7373470202a3c98e1a338bf1acf51247cd100868.tar.xz |
net: ethernet: davinci: Fix build breakage
The correct name of the transmit DMA channel field in struct emac_priv
is txchan, not txch.
Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ti/davinci_emac.c')
-rw-r--r-- | drivers/net/ethernet/ti/davinci_emac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ti/davinci_emac.c b/drivers/net/ethernet/ti/davinci_emac.c index 1c97c8171d3e..242ec55110d2 100644 --- a/drivers/net/ethernet/ti/davinci_emac.c +++ b/drivers/net/ethernet/ti/davinci_emac.c @@ -1102,7 +1102,7 @@ static int emac_dev_xmit(struct sk_buff *skb, struct net_device *ndev) /* If there is no more tx desc left free then we need to * tell the kernel to stop sending us tx frames. */ - if (unlikely(cpdma_check_free_tx_desc(priv->txch))) + if (unlikely(cpdma_check_free_tx_desc(priv->txchan))) netif_stop_queue(ndev); return NETDEV_TX_OK; |