summaryrefslogtreecommitdiff
path: root/src/drivers/generic/gpio_keys/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/generic/gpio_keys/chip.h')
-rw-r--r--src/drivers/generic/gpio_keys/chip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/generic/gpio_keys/chip.h b/src/drivers/generic/gpio_keys/chip.h
index a2ff59dc73..1599b8df1e 100644
--- a/src/drivers/generic/gpio_keys/chip.h
+++ b/src/drivers/generic/gpio_keys/chip.h
@@ -74,6 +74,8 @@ struct key_info {
struct drivers_generic_gpio_keys_config {
/* Device name of the parent gpio-keys node */
const char *name;
+ /* Name of the input device - Optional */
+ const char *label;
/* GPIO line providing the key - Mandatory */
struct acpi_gpio gpio;
/* Is this a polled GPIO button? - Optional */