rdc: remove 2.6.32 support
[openwrt/openwrt.git] / target / linux / generic / patches-2.6.32 / 035-gpio_keys_backport.patch
1 --- a/include/linux/gpio_keys.h
2 +++ b/include/linux/gpio_keys.h
3 @@ -15,7 +15,12 @@ struct gpio_keys_button {
4 struct gpio_keys_platform_data {
5 struct gpio_keys_button *buttons;
6 int nbuttons;
7 + unsigned int poll_interval; /* polling interval in msecs -
8 + for polling driver only */
9 unsigned int rep:1; /* enable input subsystem auto repeat */
10 + int (*enable)(struct device *dev);
11 + void (*disable)(struct device *dev);
12 + const char *name; /* input device name */
13 };
14
15 #endif