diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2007-05-01 00:24:54 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2007-05-01 00:24:54 -0400 |
commit | bc95f3669f5e6f63cf0b84fe4922c3c6dd4aa775 (patch) | |
tree | 427fcf2a7287c16d4b5aa6cbf494d59579a6a8b1 /drivers/input/keyboard | |
parent | 3d29cdff999c37b3876082278a8134a0642a02cd (diff) | |
parent | dc87c3985e9b442c60994308a96f887579addc39 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6
Conflicts:
drivers/usb/input/Makefile
drivers/usb/input/gtco.c
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r-- | drivers/input/keyboard/Kconfig | 10 | ||||
-rw-r--r-- | drivers/input/keyboard/gpio_keys.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index be65e50e7a33..e2851725646a 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig | |||
@@ -224,14 +224,16 @@ config KEYBOARD_AAED2000 | |||
224 | module will be called aaed2000_kbd. | 224 | module will be called aaed2000_kbd. |
225 | 225 | ||
226 | config KEYBOARD_GPIO | 226 | config KEYBOARD_GPIO |
227 | tristate "Buttons on CPU GPIOs (PXA)" | 227 | tristate "GPIO Buttons" |
228 | depends on (ARCH_SA1100 || ARCH_PXA || ARCH_S3C2410) | 228 | depends on GENERIC_GPIO |
229 | help | 229 | help |
230 | This driver implements support for buttons connected | 230 | This driver implements support for buttons connected |
231 | directly to GPIO pins of SA1100, PXA or S3C24xx CPUs. | 231 | to GPIO pins of various CPUs (and some other chips). |
232 | 232 | ||
233 | Say Y here if your device has buttons connected | 233 | Say Y here if your device has buttons connected |
234 | directly to GPIO pins of the CPU. | 234 | directly to such GPIO pins. Your board-specific |
235 | setup logic must also provide a platform device, | ||
236 | with configuration data saying which GPIOs are used. | ||
235 | 237 | ||
236 | To compile this driver as a module, choose M here: the | 238 | To compile this driver as a module, choose M here: the |
237 | module will be called gpio-keys. | 239 | module will be called gpio-keys. |
diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index 71771ba61230..0d2796cdf738 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/input/keyboard/gpio_keys.c | |||
@@ -23,11 +23,9 @@ | |||
23 | #include <linux/platform_device.h> | 23 | #include <linux/platform_device.h> |
24 | #include <linux/input.h> | 24 | #include <linux/input.h> |
25 | #include <linux/irq.h> | 25 | #include <linux/irq.h> |
26 | #include <linux/gpio_keys.h> | ||
26 | 27 | ||
27 | #include <asm/gpio.h> | 28 | #include <asm/gpio.h> |
28 | #include <asm/arch/hardware.h> | ||
29 | |||
30 | #include <asm/hardware/gpio_keys.h> | ||
31 | 29 | ||
32 | static irqreturn_t gpio_keys_isr(int irq, void *dev_id) | 30 | static irqreturn_t gpio_keys_isr(int irq, void *dev_id) |
33 | { | 31 | { |