]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
net: Fix a typo from "dev" to "ndev"
authorHenrique Camargo <henrique.camargo@ensitec.com.br>
Mon, 2 Aug 2010 17:10:42 +0000 (17:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 3 Aug 2010 05:03:03 +0000 (22:03 -0700)
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>
drivers/net/davinci_emac.c

index 2fe709f98cc4a77bc4be8f251640864b18718e74..d0824e322068d4842ebdee10a7cce87a87a7247c 100644 (file)
@@ -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)