add a gpio feature for devices supporting the generic GPIO interface
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.24 / 410-gpio_buttons.patch
1 --- linux-2.6.24.2.orig/drivers/input/misc/Kconfig 2007-08-21 06:33:06.000000000 +0200
2 +++ linux-2.6.24.2/drivers/input/misc/Kconfig 2007-10-08 10:57:23.000000000 +0200
3 @@ -178,4 +178,20 @@
4 Say Y here if you want to support the built-in real time clock
5 of the HP SDC controller.
6
7 +config INPUT_GPIO_BUTTONS
8 + tristate "Polled GPIO buttons interface"
9 + depends on GENERIC_GPIO
10 + select INPUT_POLLDEV
11 + help
12 + This driver implements support for buttons connected
13 + to GPIO pins of various CPUs (and some other chips).
14 +
15 + Say Y here if your device has buttons connected
16 + directly to such GPIO pins. Your board-specific
17 + setup logic must also provide a platform device,
18 + with configuration data saying which GPIOs are used.
19 +
20 + To compile this driver as a module, choose M here: the
21 + module will be called gpio-buttons.
22 +
23 endif
24 --- linux-2.6.24.2.orig/drivers/input/misc/Makefile 2007-08-21 06:33:06.000000000 +0200
25 +++ linux-2.6.24.2/drivers/input/misc/Makefile 2007-10-08 10:50:12.000000000 +0200
26 @@ -18,3 +18,4 @@
27 obj-$(CONFIG_INPUT_YEALINK) += yealink.o
28 obj-$(CONFIG_HP_SDC_RTC) += hp_sdc_rtc.o
29 obj-$(CONFIG_INPUT_UINPUT) += uinput.o
30 +obj-$(CONFIG_INPUT_GPIO_BUTTONS) += gpio_buttons.o
This page took 0.052304 seconds and 5 git commands to generate.