[kernel] revert 15922 - add back 2.6.29 kernel support
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.29 / 410-gpio_buttons.patch
1 --- a/drivers/input/misc/Kconfig
2 +++ b/drivers/input/misc/Kconfig
3 @@ -227,4 +227,20 @@ config INPUT_PCF50633_PMU
4          Say Y to include support for delivering  PMU events via  input
5          layer on NXP PCF50633.
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 --- a/drivers/input/misc/Makefile
25 +++ b/drivers/input/misc/Makefile
26 @@ -22,3 +22,4 @@ obj-$(CONFIG_INPUT_UINPUT)            += uinput.o
27  obj-$(CONFIG_INPUT_APANEL)             += apanel.o
28  obj-$(CONFIG_INPUT_SGI_BTNS)           += sgi_btns.o
29  obj-$(CONFIG_INPUT_PCF50633_PMU)       += pcf50633-input.o
30 +obj-$(CONFIG_INPUT_GPIO_BUTTONS)       += gpio_buttons.o