aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorHenrique Camargo <henrique.camargo@ensitec.com.br>2010-08-02 13:10:42 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-03 01:03:03 -0400
commiteabd8ba9060444cac5b89a3306e607c15ec37418 (patch)
treeb5693ff846982c21ffd4ab9220c1eabe42cebbde /drivers/net
parent81a618595a29af6aec615d093feac65ee7329b74 (diff)
net: Fix a typo from "dev" to "ndev"
The typo was causing compilation errors since "dev" was not defined. Signed-off-by: Henrique Camargo <henrique.camargo@ensitec.com.br> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/davinci_emac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/davinci_emac.c b/drivers/net/davinci_emac.c
index 2fe709f98cc4..d0824e322068 100644
--- a/drivers/net/davinci_emac.c
+++ b/drivers/net/davinci_emac.c
@@ -1302,8 +1302,8 @@ static int emac_net_tx_complete(struct emac_priv *priv,
1302 struct net_device *ndev = priv->ndev; 1302 struct net_device *ndev = priv->ndev;
1303 u32 cnt; 1303 u32 cnt;
1304 1304
1305 if (unlikely(num_tokens && netif_queue_stopped(dev))) 1305 if (unlikely(num_tokens && netif_queue_stopped(ndev)))
1306 netif_start_queue(dev); 1306 netif_start_queue(ndev);
1307 for (cnt = 0; cnt < num_tokens; cnt++) { 1307 for (cnt = 0; cnt < num_tokens; cnt++) {
1308 struct sk_buff *skb = (struct sk_buff *)net_data_tokens[cnt]; 1308 struct sk_buff *skb = (struct sk_buff *)net_data_tokens[cnt];
1309 if (skb == NULL) 1309 if (skb == NULL)