[backfire] ar71xx: use ar71xx_set_mac_base() for mach-tl-mr3420.c
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 14 Nov 2011 00:32:20 +0000 (00:32 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 14 Nov 2011 00:32:20 +0000 (00:32 +0000)
SVN-Revision: 29086

target/linux/ar71xx/files/arch/mips/ar71xx/mach-tl-mr3420.c

index 4721d42555fade53c6c13e85b4bc446a98837073..76a917e93019ada60f35e4a668fd2fcf674bf9e9 100644 (file)
@@ -123,8 +123,8 @@ static void __init tl_mr3420_setup(void)
                                        tl_mr3420_gpio_buttons);
 
        ar71xx_eth1_data.has_ar7240_switch = 1;
-       ar71xx_init_mac(ar71xx_eth0_data.mac_addr, mac, 0);
-       ar71xx_init_mac(ar71xx_eth1_data.mac_addr, mac, 1);
+
+       ar71xx_set_mac_base(mac);
 
        /* WAN port */
        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;