mirror of
https://github.com/torvalds/linux.git
synced 2024-11-06 12:11:59 +00:00
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>
This commit is contained in:
parent
825863408a
commit
7373470202
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user