ACPI / GPIO: Driver GPIO mappings for ACPI GPIOs
[firefly-linux-kernel-4.4.55.git] / include / acpi / acpi_bus.h
index a361f43b1974e0ecab8f24793fe7da957bff376f..7d1ce40e201e1be2ad56edd70dec6101d8e9e4ea 100644 (file)
@@ -345,6 +345,8 @@ struct acpi_device_data {
        const union acpi_object *of_compatible;
 };
 
+struct acpi_gpio_mapping;
+
 /* Device */
 struct acpi_device {
        int device_type;
@@ -366,6 +368,7 @@ struct acpi_device {
        struct acpi_scan_handler *handler;
        struct acpi_hotplug_context *hp;
        struct acpi_driver *driver;
+       const struct acpi_gpio_mapping *driver_gpios;
        void *driver_data;
        struct device dev;
        unsigned int physical_node_count;