diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-30 02:17:44 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-30 02:17:44 -0400 |
| commit | 2f7fa1be66dce77608330c5eb918d6360b5525f2 (patch) | |
| tree | 05dbfe86d2b192389da11686fa380e7ae45be225 /include/linux | |
| parent | 1338631433d8de7cf85b7e8fcf1a389ad89e7a8f (diff) | |
| parent | f182394033d639679264d61e6dca62761e659ff7 (diff) | |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
Pull 2nd round of input updates from Dmitry Torokhov:
- update to Wacom driver to support wireless devices
- update to Sentelci touchpad driver to support newer hardware
- update to gpio-keys driver to support "interrupt-only" keys
- fixups to earlier commits
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
Input: wacom - check for allocation failure in probe()
Input: tegra-kbc - allocate pdata before using it
Input: amijoy - add missing platform check
Input: wacom - wireless battery status
Input: wacom - create inputs when wireless connect
Input: wacom - wireless monitor framework
Input: wacom - isolate input registration
Input: sentelic - improve packet debugging information
Input: sentelic - minor code cleanup
Input: sentelic - enabling absolute coordinates output for newer hardware
Input: sentelic - refactor code for upcoming new hardware support
Input: gpio_keys - add support for interrupt only keys
Input: gpio_keys - consolidate key destructor code
Input: revert "gpio_keys - switch to using threaded IRQs"
Input: gpio_keys - constify platform data
Input: spear-keyboard - remove kbd_set_plat_data()
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/gpio_keys.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/gpio_keys.h b/include/linux/gpio_keys.h index 004ff33ab38e..a7e977ff4abf 100644 --- a/include/linux/gpio_keys.h +++ b/include/linux/gpio_keys.h | |||
| @@ -6,7 +6,7 @@ struct device; | |||
| 6 | struct gpio_keys_button { | 6 | struct gpio_keys_button { |
| 7 | /* Configuration parameters */ | 7 | /* Configuration parameters */ |
| 8 | unsigned int code; /* input event code (KEY_*, SW_*) */ | 8 | unsigned int code; /* input event code (KEY_*, SW_*) */ |
| 9 | int gpio; | 9 | int gpio; /* -1 if this key does not support gpio */ |
| 10 | int active_low; | 10 | int active_low; |
| 11 | const char *desc; | 11 | const char *desc; |
| 12 | unsigned int type; /* input event type (EV_KEY, EV_SW, EV_ABS) */ | 12 | unsigned int type; /* input event type (EV_KEY, EV_SW, EV_ABS) */ |
| @@ -14,6 +14,7 @@ struct gpio_keys_button { | |||
| 14 | int debounce_interval; /* debounce ticks interval in msecs */ | 14 | int debounce_interval; /* debounce ticks interval in msecs */ |
| 15 | bool can_disable; | 15 | bool can_disable; |
| 16 | int value; /* axis value for EV_ABS */ | 16 | int value; /* axis value for EV_ABS */ |
| 17 | unsigned int irq; /* Irq number in case of interrupt keys */ | ||
| 17 | }; | 18 | }; |
| 18 | 19 | ||
| 19 | struct gpio_keys_platform_data { | 20 | struct gpio_keys_platform_data { |
