]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/typhoon.c
[TULIP]: Use pci_device_to_OF_node() on sparc.
[linux-2.6-omap-h63xx.git] / drivers / net / typhoon.c
index 9781b16bb8b66ffe727dee15537f7a855bb16d42..0d91d094edd97bd63407e929682a58d2a2143b40 100644 (file)
@@ -746,8 +746,7 @@ typhoon_vlan_rx_kill_vid(struct net_device *dev, unsigned short vid)
 {
        struct typhoon *tp = netdev_priv(dev);
        spin_lock_bh(&tp->state_lock);
-       if(tp->vlgrp)
-               tp->vlgrp->vlan_devices[vid] = NULL;
+       vlan_group_set_device(tp->vlgrp, vid, NULL);
        spin_unlock_bh(&tp->state_lock);
 }