]> err.no Git - linux-2.6/commitdiff
[GIANFAR]: Fix compile error in latest git
authorJan Altenberg <jan@linutronix.de>
Mon, 5 Mar 2007 21:29:55 +0000 (13:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2007 21:29:55 +0000 (13:29 -0800)
I recognized a compile error in latest git:

/here/workdir/git/drivers/net/gianfar.c: In function `gfar_vlan_rx_kill_vid':
/here/workdir/git/drivers/net/gianfar.c:1135: error: structure has no member named `vgrp'

This error was introduced in commit:

commit 6d04e3b04b6ab569cabeb5ca28ad1be11777e895
 ...
      [VLAN]: Avoid a 4-order allocation.

Signed-off-by: Jan Altenberg <jan@linutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/gianfar.c

index 02b61b85b62cfe2efe80632c552b05d8147f8d3d..d981d4c41dd3b1ef6faa49fcdcf21bc4bc88c9c0 100644 (file)
@@ -1132,7 +1132,7 @@ static void gfar_vlan_rx_kill_vid(struct net_device *dev, uint16_t vid)
 
        spin_lock_irqsave(&priv->rxlock, flags);
 
-       vlan_group_set_device(priv->vgrp, vid, NULL);
+       vlan_group_set_device(priv->vlgrp, vid, NULL);
 
        spin_unlock_irqrestore(&priv->rxlock, flags);
 }