Input: gpio-keys - add support for disabling gpios through sysfs
[deliverable/linux.git] / include / linux / gpio_keys.h
index 1289fa7623ca22d7d79188bc39cf5b5b35c180b1..cd0b3f30f48ed1bc8294ac759bf7965b3efce851 100644 (file)
@@ -10,6 +10,7 @@ struct gpio_keys_button {
        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 */
+       bool can_disable;
 };
 
 struct gpio_keys_platform_data {
This page took 0.049699 seconds and 5 git commands to generate.