ar71xx: add support for the TP-Link TL-WR1041N v2 board
[openwrt.git] / target / linux / ar71xx / files / arch / mips / ath79 / mach-tl-wr2543n.c
index bb00b72e7de62b39337c7ff9313854c225c46527..f282a03d84369b8f74e427ac3af87e213fcd8d0d 100644 (file)
@@ -40,7 +40,6 @@ static const char *tl_wr2543n_part_probes[] = {
 
 static struct flash_platform_data tl_wr2543n_flash_data = {
        .part_probes    = tl_wr2543n_part_probes,
-       .max_read_len   = 64,
 };
 
 static struct gpio_led tl_wr2543n_leds_gpio[] __initdata = {
@@ -69,6 +68,7 @@ static struct gpio_keys_button tl_wr2543n_gpio_keys[] __initdata = {
                .code           = KEY_WPS_BUTTON,
                .debounce_interval = TL_WR2543N_KEYS_DEBOUNCE_INTERVAL,
                .gpio           = TL_WR2543N_GPIO_BTN_WPS,
+               .active_low     = 1,
        }
 };