gpio: store reflect the label to userspace
[cascardo/linux.git] / include / uapi / linux / gpio.h
index 3188a87..3f93e1b 100644 (file)
 /**
  * struct gpiochip_info - Information about a certain GPIO chip
  * @name: the name of this GPIO chip
+ * @label: a functional name for this GPIO chip
  * @lines: number of GPIO lines on this chip
  */
 struct gpiochip_info {
        char name[32];
+       char label[32];
        __u32 lines;
 };