From: Henrique Camargo Date: Mon, 2 Aug 2010 17:10:42 +0000 (+0000) Subject: net: Fix a typo from "dev" to "ndev" X-Git-Tag: firefly_0821_release~9833^2~1306^2~12 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=eabd8ba9060444cac5b89a3306e607c15ec37418;p=firefly-linux-kernel-4.4.55.git net: Fix a typo from "dev" to "ndev" The typo was causing compilation errors since "dev" was not defined. Signed-off-by: Henrique Camargo Signed-off-by: David S. Miller --- 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, struct net_device *ndev = priv->ndev; u32 cnt; - if (unlikely(num_tokens && netif_queue_stopped(dev))) - netif_start_queue(dev); + if (unlikely(num_tokens && netif_queue_stopped(ndev))) + netif_start_queue(ndev); for (cnt = 0; cnt < num_tokens; cnt++) { struct sk_buff *skb = (struct sk_buff *)net_data_tokens[cnt]; if (skb == NULL)