fix some compile warnings with 2.6.32
[openwrt/staging/wigyori.git] / target / linux / ixp4xx / patches-2.6.32 / 180-tw5334_support.patch
index f59792a530702fd832bf3dc224b107c1c686a272..6370c99835449dd2e4c3511fa7cdfbfed06ea386 100644 (file)
 +
 +static void __init tw5334_init(void)
 +{
-+      DECLARE_MAC_BUF(mac_buf);
 +      uint8_t __iomem *f;
 +      int i;
 +
 +#endif
 +              iounmap(f);
 +      }
-+      printk(KERN_INFO "TW-533-4: Using MAC address %s for port 0\n",
-+              print_mac(mac_buf, tw5334_plat_eth[0].hwaddr));
-+      printk(KERN_INFO "TW-533-4: Using MAC address %s for port 1\n",
-+              print_mac(mac_buf, tw5334_plat_eth[1].hwaddr));
++
++      printk(KERN_INFO "TW-533-4: Using MAC address %pM for port 0\n",
++              tw5334_plat_eth[0].hwaddr);
++      printk(KERN_INFO "TW-533-4: Using MAC address %pM for port 1\n",
++              tw5334_plat_eth[1].hwaddr);
 +}
 +
 +#ifdef CONFIG_MACH_TW5334