]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/cris/eth_v10.c
net: use netdev_mc_count and netdev_mc_empty when appropriate
[net-next-2.6.git] / drivers / net / cris / eth_v10.c
index a24be34a3f7ad3b0adc00268ab3854527817b1c9..c9309eadebc1d8ad3a2e8eb3e9ec6f523d5c444a 100644 (file)
@@ -1564,7 +1564,7 @@ static void
 set_multicast_list(struct net_device *dev)
 {
        struct net_local *lp = netdev_priv(dev);
-       int num_addr = dev->mc_count;
+       int num_addr = netdev_mc_count(dev);
        unsigned long int lo_bits;
        unsigned long int hi_bits;