ar71xx: Fix offset to WMAC address for 8devices Lima
[openwrt/openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-lima.c
index 9c784f79217e13398aba9e75a3fd1c1c72ed61ef..9867429684f9ebc8881f9c0b63e94d9a847ca34b 100644 (file)
@@ -35,7 +35,6 @@
 #define LIMA_MAC1_OFFSET       0x0006
 
 #define LIMA_CALDATA_OFFSET    0x1000
-#define LIMA_WMAC_MAC_OFFSET   0x0800
 
 static struct gpio_keys_button lima_gpio_keys[] __initdata = {
        {
@@ -79,8 +78,7 @@ static void __init lima_setup(void)
        ath79_eth0_data.phy_mask = BIT(0);
        ath79_register_eth(0);
 
-       ath79_register_wmac(art + LIMA_CALDATA_OFFSET,
-                       art + LIMA_WMAC_MAC_OFFSET);
+       ath79_register_wmac(art + LIMA_CALDATA_OFFSET, NULL);
        ath79_register_usb();
        ath79_register_pci();
 }