diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-11-10 15:40:32 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-11-30 10:53:51 +0100 |
commit | ce0929d222f8cb18a66611642dc0661d633ce192 (patch) | |
tree | 4e7cfda831948660ef0d085e38eb8559adb62acf /include/linux/acpi.h | |
parent | 5c34b6c1468d54df71e8f5b7b3275bac705e2c4c (diff) | |
download | talos-op-linux-ce0929d222f8cb18a66611642dc0661d633ce192.tar.gz talos-op-linux-ce0929d222f8cb18a66611642dc0661d633ce192.zip |
gpiolib: acpi: Add quirks field to struct acpi_gpio_mapping
Some broken ACPI tables might require quirks in the OS.
Introduce quirks field in struct acpi_gpio_mapping.
Propagate them to struct acpi_gpio_info for further use.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/acpi.h')
-rw-r--r-- | include/linux/acpi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/acpi.h b/include/linux/acpi.h index dc1ebfeeb5ec..25fe77fccea0 100644 --- a/include/linux/acpi.h +++ b/include/linux/acpi.h @@ -978,6 +978,7 @@ struct acpi_gpio_mapping { const char *name; const struct acpi_gpio_params *data; unsigned int size; + unsigned int quirks; }; #if defined(CONFIG_ACPI) && defined(CONFIG_GPIOLIB) |