aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/a2065.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/a2065.c')
-rw-r--r--drivers/net/a2065.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/a2065.c b/drivers/net/a2065.c
index b7ec0368d7e8..6a65f660c192 100644
--- a/drivers/net/a2065.c
+++ b/drivers/net/a2065.c
@@ -619,7 +619,7 @@ static void lance_load_multicast (struct net_device *dev)
619 ib->filter [1] = 0; 619 ib->filter [1] = 0;
620 620
621 /* Add addresses */ 621 /* Add addresses */
622 for (i = 0; i < dev->mc_count; i++){ 622 for (i = 0; i < netdev_mc_count(dev); i++){
623 addrs = dmi->dmi_addr; 623 addrs = dmi->dmi_addr;
624 dmi = dmi->next; 624 dmi = dmi->next;
625 625