ar71xx: use the tp-link parser on the tp-link boards
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-mzk-w300nh.c
index 27f1738cf3fa897f2cdd6dfe198032fc28f506f8..98b3f009263c42f737e952072b47222c1ed29963 100644 (file)
@@ -75,23 +75,23 @@ static struct flash_platform_data mzk_w300nh_flash_data = {
 
 static struct gpio_led mzk_w300nh_leds_gpio[] __initdata = {
        {
-               .name           = "mzk-w300nh:green:status",
+               .name           = "planex:green:status",
                .gpio           = MZK_W300NH_GPIO_LED_STATUS,
                .active_low     = 1,
        }, {
-               .name           = "mzk-w300nh:blue:wps",
+               .name           = "planex:blue:wps",
                .gpio           = MZK_W300NH_GPIO_LED_WPS,
                .active_low     = 1,
        }, {
-               .name           = "mzk-w300nh:green:wlan",
+               .name           = "planex:green:wlan",
                .gpio           = MZK_W300NH_GPIO_LED_WLAN,
                .active_low     = 1,
        }, {
-               .name           = "mzk-w300nh:green:ap",
+               .name           = "planex:green:ap",
                .gpio           = MZK_W300NH_GPIO_LED_AP,
                .active_low     = 1,
        }, {
-               .name           = "mzk-w300nh:green:router",
+               .name           = "planex:green:router",
                .gpio           = MZK_W300NH_GPIO_LED_ROUTER,
                .active_low     = 1,
        }
@@ -129,7 +129,7 @@ static void __init mzk_w300nh_setup(void)
 {
        u8 *eeprom = (u8 *) KSEG1ADDR(0x1fff1000);
 
-       ar71xx_add_device_mdio(MZK_W300NH_MDIO_MASK);
+       ar71xx_add_device_mdio(0, MZK_W300NH_MDIO_MASK);
 
        ar71xx_init_mac(ar71xx_eth0_data.mac_addr, eeprom, 0);
        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;