git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: use netdev_mc_count and netdev_mc_empty when appropriate
[pandora-kernel.git]
/
drivers
/
net
/
atarilance.c
diff --git
a/drivers/net/atarilance.c
b/drivers/net/atarilance.c
index
cc9ed86
..
280cfff
100644
(file)
--- a/
drivers/net/atarilance.c
+++ b/
drivers/net/atarilance.c
@@
-1097,7
+1097,7
@@
static void set_multicast_list( struct net_device *dev )
REGA( CSR15 ) = 0x8000; /* Set promiscuous mode */
} else {
short multicast_table[4];
- int num_addrs =
dev->mc_count
;
+ int num_addrs =
netdev_mc_count(dev)
;
int i;
/* We don't use the multicast table, but rely on upper-layer
* filtering. */