diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2010-01-13 10:18:24 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2010-01-13 10:18:24 +0000 |
commit | 2f07f545700453dda6531dce4cc982ea533f07f5 (patch) | |
tree | 31e15674a2e198a43fe85d558f4b6ee08a1e334b /target/linux/generic-2.6/files/include | |
parent | 7c1b3086d4ed043fb46dd0a0ca30ec7df56a9818 (diff) | |
download | upstream-2f07f545700453dda6531dce4cc982ea533f07f5.tar.gz upstream-2f07f545700453dda6531dce4cc982ea533f07f5.tar.bz2 upstream-2f07f545700453dda6531dce4cc982ea533f07f5.zip |
kernel: change debounce logic in the gpio-buttons driver
* thanks to Nuno Gonçalves
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19115 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic-2.6/files/include')
-rw-r--r-- | target/linux/generic-2.6/files/include/linux/gpio_buttons.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/target/linux/generic-2.6/files/include/linux/gpio_buttons.h b/target/linux/generic-2.6/files/include/linux/gpio_buttons.h index f5e6297258..f85b993ed2 100644 --- a/target/linux/generic-2.6/files/include/linux/gpio_buttons.h +++ b/target/linux/generic-2.6/files/include/linux/gpio_buttons.h @@ -1,7 +1,7 @@ /* * Definitions for the GPIO buttons interface driver * - * Copyright (C) 2007,2008 Gabor Juhos <juhosg at openwrt.org> + * Copyright (C) 2007-2010 Gabor Juhos <juhosg@openwrt.org> * * This file was based on: /include/linux/gpio_keys.h * The original gpio_keys.h seems not to have a license. @@ -21,7 +21,6 @@ struct gpio_button { char *desc; /* button description */ int type; /* input event type (EV_KEY, EV_SW) */ int code; /* input event code (KEY_*, SW_*) */ - int count; int threshold; /* count threshold */ }; @@ -32,4 +31,3 @@ struct gpio_buttons_platform_data { }; #endif /* _GPIO_BUTTONS_H_ */ - |