platform specific patches don't belong here - take #2
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-2.6.31 / 410-gpio_buttons.patch
1 --- a/drivers/input/misc/Kconfig
2 +++ b/drivers/input/misc/Kconfig
3 @@ -269,4 +269,21 @@ config INPUT_DM355EVM
4
5 To compile this driver as a module, choose M here: the
6 module will be called dm355evm_keys.
7 +
8 +config INPUT_GPIO_BUTTONS
9 + tristate "Polled GPIO buttons interface"
10 + depends on GENERIC_GPIO
11 + select INPUT_POLLDEV
12 + help
13 + This driver implements support for buttons connected
14 + to GPIO pins of various CPUs (and some other chips).
15 +
16 + Say Y here if your device has buttons connected
17 + directly to such GPIO pins. Your board-specific
18 + setup logic must also provide a platform device,
19 + with configuration data saying which GPIOs are used.
20 +
21 + To compile this driver as a module, choose M here: the
22 + module will be called gpio-buttons.
23 +
24 endif
25 --- a/drivers/input/misc/Makefile
26 +++ b/drivers/input/misc/Makefile
27 @@ -26,3 +26,4 @@ obj-$(CONFIG_INPUT_TWL4030_PWRBUTTON) +=
28 obj-$(CONFIG_INPUT_UINPUT) += uinput.o
29 obj-$(CONFIG_INPUT_WISTRON_BTNS) += wistron_btns.o
30 obj-$(CONFIG_INPUT_YEALINK) += yealink.o
31 +obj-$(CONFIG_INPUT_GPIO_BUTTONS) += gpio_buttons.o