Skip to content

Commit

Permalink
net: Fix a typo from "dev" to "ndev"
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Henrique Camargo authored and David S. Miller committed Aug 3, 2010
1 parent 81a6185 commit eabd8ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/davinci_emac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit eabd8ba

Please sign in to comment.