ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify...
[openwrt.git] / target / linux / ar71xx / files-3.2 / arch / mips / ath79 / mach-tl-mr3020.c
index f31874f..9732d5c 100644 (file)
@@ -74,7 +74,7 @@ static struct gpio_keys_button tl_mr3020_gpio_keys[] __initdata = {
                .code           = KEY_WPS_BUTTON,
                .debounce_interval = TL_MR3020_KEYS_DEBOUNCE_INTERVAL,
                .gpio           = TL_MR3020_GPIO_BTN_WPS,
-               .active_low     = 1,
+               .active_low     = 0,
        },
        {
                .desc           = "sw1",
@@ -82,7 +82,7 @@ static struct gpio_keys_button tl_mr3020_gpio_keys[] __initdata = {
                .code           = BTN_0,
                .debounce_interval = TL_MR3020_KEYS_DEBOUNCE_INTERVAL,
                .gpio           = TL_MR3020_GPIO_BTN_SW1,
-               .active_low     = 1,
+               .active_low     = 0,
        },
        {
                .desc           = "sw2",
@@ -90,7 +90,7 @@ static struct gpio_keys_button tl_mr3020_gpio_keys[] __initdata = {
                .code           = BTN_1,
                .debounce_interval = TL_MR3020_KEYS_DEBOUNCE_INTERVAL,
                .gpio           = TL_MR3020_GPIO_BTN_SW2,
-               .active_low     = 1,
+               .active_low     = 0,
        }
 };
 
@@ -117,5 +117,5 @@ static void __init tl_mr3020_setup(void)
        ath79_register_wmac(ee, mac);
 }
 
-MIPS_MACHINE(ATH79_MACH_TL_MR3020, "TL-MR3020", "TP-LINK TL-MR3020 v1",
+MIPS_MACHINE(ATH79_MACH_TL_MR3020, "TL-MR3020", "TP-LINK TL-MR3020",
             tl_mr3020_setup);
This page took 0.030385 seconds and 4 git commands to generate.