CRISv10 Ethernet declare mac fix
[safe/jmp/linux-2.6] / drivers / net / cris / eth_v10.c
index 5dc984a..917b7b4 100644 (file)
@@ -630,7 +630,7 @@ e100_set_mac_address(struct net_device *dev, void *p)
 {
        struct net_local *np = netdev_priv(dev);
        struct sockaddr *addr = p;
-       int i;
+       DECLARE_MAC_BUF(mac);
 
        spin_lock(&np->lock); /* preemption protection */