ar71xx: build ALFA AP96 images with default profile as well
[oweals/openwrt.git] / target / linux / ar71xx / files / arch / mips / ar71xx / mach-mzk-w04nu.c
index 54dbe35fc8038809c00d5723857f0b7c1c046cd5..dbb408cbb2820bdcfaa75e2e5485be004c2ef63d 100644 (file)
@@ -76,27 +76,27 @@ static struct flash_platform_data mzk_w04nu_flash_data = {
 
 static struct gpio_led mzk_w04nu_leds_gpio[] __initdata = {
        {
-               .name           = "mzk-w04nu:green:status",
+               .name           = "planex:green:status",
                .gpio           = MZK_W04NU_GPIO_LED_STATUS,
                .active_low     = 1,
        }, {
-               .name           = "mzk-w04nu:blue:wps",
+               .name           = "planex:blue:wps",
                .gpio           = MZK_W04NU_GPIO_LED_WPS,
                .active_low     = 1,
        }, {
-               .name           = "mzk-w04nu:green:wlan",
+               .name           = "planex:green:wlan",
                .gpio           = MZK_W04NU_GPIO_LED_WLAN,
                .active_low     = 1,
        }, {
-               .name           = "mzk-w04nu:green:usb",
+               .name           = "planex:green:usb",
                .gpio           = MZK_W04NU_GPIO_LED_USB,
                .active_low     = 1,
        }, {
-               .name           = "mzk-w04nu:green:ap",
+               .name           = "planex:green:ap",
                .gpio           = MZK_W04NU_GPIO_LED_AP,
                .active_low     = 1,
        }, {
-               .name           = "mzk-w04nu:green:router",
+               .name           = "planex:green:router",
                .gpio           = MZK_W04NU_GPIO_LED_ROUTER,
                .active_low     = 1,
        }
@@ -134,7 +134,7 @@ static void __init mzk_w04nu_setup(void)
 {
        u8 *eeprom = (u8 *) KSEG1ADDR(0x1fff1000);
 
-       ar71xx_add_device_mdio(MZK_W04NU_MDIO_MASK);
+       ar71xx_add_device_mdio(0, MZK_W04NU_MDIO_MASK);
 
        ar71xx_init_mac(ar71xx_eth0_data.mac_addr, eeprom, 0);
        ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;