diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-01-10 18:15:47 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2011-01-10 18:15:47 +0000 |
commit | dd53effe15ba7c0c744f71550a98fa9f521f23fc (patch) | |
tree | 7a071b16d72b5d6d3773d211a3e91f0880d81731 /target/linux/ar71xx/files/arch/mips | |
parent | a339e58d7241876b0988fe29db2ed19ad381ae6e (diff) | |
download | mtk-20170518-dd53effe15ba7c0c744f71550a98fa9f521f23fc.zip mtk-20170518-dd53effe15ba7c0c744f71550a98fa9f521f23fc.tar.gz mtk-20170518-dd53effe15ba7c0c744f71550a98fa9f521f23fc.tar.bz2 |
ar71xx: fix wrong names of the WPS LED/button
Reported-by: Nuno Gonçalves
SVN-Revision: 24961
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c index a36d2d0..30d09cb 100644 --- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c +++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-dir-825-b1.c @@ -29,12 +29,12 @@ #define DIR825B1_GPIO_LED_BLUE_USB 0 #define DIR825B1_GPIO_LED_ORANGE_POWER 1 #define DIR825B1_GPIO_LED_BLUE_POWER 2 -#define DIR825B1_GPIO_LED_BLUE_POWERSAVE 4 +#define DIR825B1_GPIO_LED_BLUE_WPS 4 #define DIR825B1_GPIO_LED_ORANGE_PLANET 6 #define DIR825B1_GPIO_LED_BLUE_PLANET 11 #define DIR825B1_GPIO_BTN_RESET 3 -#define DIR825B1_GPIO_BTN_POWERSAVE 8 +#define DIR825B1_GPIO_BTN_WPS 8 #define DIR825B1_GPIO_RTL8366_SDA 5 #define DIR825B1_GPIO_RTL8366_SCK 7 @@ -98,8 +98,8 @@ static struct gpio_led dir825b1_leds_gpio[] __initdata = { .gpio = DIR825B1_GPIO_LED_BLUE_POWER, .active_low = 1, }, { - .name = "dir825b1:blue:powersave", - .gpio = DIR825B1_GPIO_LED_BLUE_POWERSAVE, + .name = "dir825b1:blue:wps", + .gpio = DIR825B1_GPIO_LED_BLUE_WPS, .active_low = 1, }, { .name = "dir825b1:orange:planet", @@ -121,11 +121,11 @@ static struct gpio_button dir825b1_gpio_buttons[] __initdata = { .gpio = DIR825B1_GPIO_BTN_RESET, .active_low = 1, }, { - .desc = "powersave", + .desc = "wps", .type = EV_KEY, - .code = BTN_1, + .code = KEY_WPS_BUTTON, .threshold = 3, - .gpio = DIR825B1_GPIO_BTN_POWERSAVE, + .gpio = DIR825B1_GPIO_BTN_WPS, .active_low = 1, } }; |