X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Flinux%2Fgpio_keys.h;h=1289fa7623ca22d7d79188bc39cf5b5b35c180b1;hb=6946ce00c944131464d408c1e9b7b290d8bc3d15;hp=c6d3a9de5634c1d9de24c962b4fada1aaa97b4a2;hpb=4c5cdb1e1f2a502069f57a60b5c6b97b8106c73c;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/gpio_keys.h b/include/linux/gpio_keys.h index c6d3a9de563..1289fa7623c 100644 --- a/include/linux/gpio_keys.h +++ b/include/linux/gpio_keys.h @@ -9,11 +9,13 @@ struct gpio_keys_button { char *desc; int type; /* input event type (EV_KEY, EV_SW) */ int wakeup; /* configure the button as a wake-up source */ + int debounce_interval; /* debounce ticks interval in msecs */ }; struct gpio_keys_platform_data { struct gpio_keys_button *buttons; int nbuttons; + unsigned int rep:1; /* enable input subsystem auto repeat */ }; #endif