proc: revert /proc/<pid>/maps [stack:TID] annotation
[firefly-linux-kernel-4.4.55.git] / include / linux / gpio_keys.h
index 8b622468952c427470fa44905ba991d7220a0d68..ee2d8c6f91300db725b3681c830d4568de71cb19 100644 (file)
@@ -2,6 +2,7 @@
 #define _GPIO_KEYS_H
 
 struct device;
+struct gpio_desc;
 
 /**
  * struct gpio_keys_button - configuration parameters
@@ -17,6 +18,7 @@ struct device;
  *                     disable button via sysfs
  * @value:             axis value for %EV_ABS
  * @irq:               Irq number in case of interrupt keys
+ * @gpiod:             GPIO descriptor
  */
 struct gpio_keys_button {
        unsigned int code;
@@ -29,6 +31,7 @@ struct gpio_keys_button {
        bool can_disable;
        int value;
        unsigned int irq;
+       struct gpio_desc *gpiod;
 };
 
 /**