diff options
author | Martin Michlmayr <tbm@cyrius.com> | 2008-07-22 01:49:22 +0300 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-08-09 15:17:27 +0200 |
commit | 28ca8c802f71283d610656a207f3325c09e4585e (patch) | |
tree | cc9839cc328f573f6e648bafc4d720dfb21b1bcb /arch/arm/mach-orion5x/ts409-setup.c | |
parent | 4a4e30afefbfd069ef09de3514cce4886e83ff10 (diff) | |
download | kernel_samsung_crespo-28ca8c802f71283d610656a207f3325c09e4585e.zip kernel_samsung_crespo-28ca8c802f71283d610656a207f3325c09e4585e.tar.gz kernel_samsung_crespo-28ca8c802f71283d610656a207f3325c09e4585e.tar.bz2 |
[ARM] Orion: use better key codes for the TS-209/TS-409 buttons
Use key codes for the buttons on the TS-209/TS-409 that make more
sense than the current values.
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>
Acked-by: Byron Bradley <byron.bbradley@gmail.com>
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Diffstat (limited to 'arch/arm/mach-orion5x/ts409-setup.c')
-rw-r--r-- | arch/arm/mach-orion5x/ts409-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-orion5x/ts409-setup.c b/arch/arm/mach-orion5x/ts409-setup.c index 3133b73..57d460c 100644 --- a/arch/arm/mach-orion5x/ts409-setup.c +++ b/arch/arm/mach-orion5x/ts409-setup.c @@ -212,7 +212,7 @@ static struct platform_device ts409_leds = { static struct gpio_keys_button qnap_ts409_buttons[] = { { - .code = KEY_RESTART, + .code = KEY_COPY, .gpio = QNAP_TS409_GPIO_KEY_MEDIA, .desc = "USB Copy Button", .active_low = 1, |