gpiolib: acpi: Add quirks field to struct acpi_gpio_mapping
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 10 Nov 2017 13:40:32 +0000 (15:40 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 30 Nov 2017 09:53:51 +0000 (10:53 +0100)
commitce0929d222f8cb18a66611642dc0661d633ce192
tree4e7cfda831948660ef0d085e38eb8559adb62acf
parent5c34b6c1468d54df71e8f5b7b3275bac705e2c4c
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>
drivers/gpio/gpiolib-acpi.c
drivers/gpio/gpiolib.h
include/linux/acpi.h