summaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 11:50:24 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 11:50:24 -0800
commitd68798374bcf5cd4a19105b86d96121651b3c8cb (patch)
tree5e7432adf2b61f1497a4c3138c969e8664c54b6e /include/asm-arm
parent412ecd7751a2653ab17df39a1dc3565a548633fd (diff)
parent2a598df595d33be0f12e37ef5df75eff13511d07 (diff)
downloadop-kernel-dev-d68798374bcf5cd4a19105b86d96121651b3c8cb.zip
op-kernel-dev-d68798374bcf5cd4a19105b86d96121651b3c8cb.tar.gz
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: remove scan_keyb driver Input: i8042 - fix AUX IRQ delivery check Input: wistron - add support for Fujitsu-Siemens Amilo D88x0 Input: inport - use correct config option for ATIXL Input: HIL - handle erros from input_register_device() Input: tsdev - schedule removal Input: add Atlas button driver Input: ads7846 - be more compatible with the hwmon framework Input: ads7846 - detect pen up from GPIO state Input: ads7846 - select correct SPI mode Input: ads7846 - switch to using hrtimer Input: ads7846 - optionally leave Vref on during differential measurements Input: ads7846 - pluggable filtering logic Input: gpio-keys - keyboard driver for GPIO buttons Input: hid-ff - add support for Logitech Momo racing wheel Input: i8042 - really suppress ACK/NAK during panic blink Input: pc110pad - return proper error
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/hardware/gpio_keys.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asm-arm/hardware/gpio_keys.h b/include/asm-arm/hardware/gpio_keys.h
new file mode 100644
index 0000000..2b217c7
--- /dev/null
+++ b/include/asm-arm/hardware/gpio_keys.h
@@ -0,0 +1,17 @@
+#ifndef _GPIO_KEYS_H
+#define _GPIO_KEYS_H
+
+struct gpio_keys_button {
+ /* Configuration parameters */
+ int keycode;
+ int gpio;
+ int active_low;
+ char *desc;
+};
+
+struct gpio_keys_platform_data {
+ struct gpio_keys_button *buttons;
+ int nbuttons;
+};
+
+#endif
OpenPOWER on IntegriCloud