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;
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 */