diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-04-22 09:25:37 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-04-22 09:25:37 +0000 |
commit | 0baf6687af0116fbb7320a3e7a9a071ee96cb81b (patch) | |
tree | 21b259dde861697a219df807415c0f0524594a40 /target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c | |
parent | cdf16b5bb0237ad601f4c129b84487af6a4d9b7f (diff) | |
download | master-187ad058-0baf6687af0116fbb7320a3e7a9a071ee96cb81b.tar.gz master-187ad058-0baf6687af0116fbb7320a3e7a9a071ee96cb81b.tar.bz2 master-187ad058-0baf6687af0116fbb7320a3e7a9a071ee96cb81b.zip |
ramips: use KEY_RESTART and KEY_WPS_BUTTON code for the appropriate buttons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21083 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c')
-rw-r--r-- | target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c index c87bdaf3e8..9de07d36b8 100644 --- a/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c +++ b/target/linux/ramips/files/arch/mips/ralink/rt305x/mach-fonera20n.c @@ -91,7 +91,7 @@ static struct gpio_button fonera20n_gpio_buttons[] __initdata = { { .desc = "reset", .type = EV_KEY, - .code = BTN_0, + .code = KEY_RESTART, .threshold = 3, .gpio = FONERA20N_GPIO_BUTTON_RESET, .active_low = 1, |