ar71xx/ath79: ew-dorin, fix the trigger level for WPS button
[openwrt/staging/wigyori.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-fritz450e.c
index 4e99834d2757dcbed5038145aa5c0f023f3ad6f8..5bded81a4d870c872e853f63b2cddf0c99da7ad2 100644 (file)
@@ -115,7 +115,7 @@ static struct gpio_keys_button fritz450E_gpio_keys[] __initdata = {
                .code                   = KEY_WPS_BUTTON,
                .debounce_interval      = FRITZ450E_KEYS_DEBOUNCE_INTERVAL,
                .gpio                   = FRITZ450E_GPIO_BTN_WPS,
-               .active_low             = 1,
+               .active_low             = 0,
        }
 };
 
@@ -129,7 +129,7 @@ static struct at803x_platform_data fritz450E_at803x_data = {
 static struct mdio_board_info fritz450E_mdio_info[] = {
        {
                .bus_id = "ag71xx-mdio.1",
-               .phy_addr = FRITZ450E_PHY_ADDRESS,
+               .mdio_addr = FRITZ450E_PHY_ADDRESS,
                .platform_data = &fritz450E_at803x_data,
        },
 };