diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-02-07 16:29:51 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-03-06 12:33:02 +0200 |
commit | 5b1911976ccf83e892452afb0363500228b35d81 (patch) | |
tree | d2ad306177224a2b2123f9e9f0d079467fbde374 /include/linux/gpio | |
parent | 91e5ae95a0af7d2db9e98e8f99436c02c304378b (diff) |
gpiolib: Group forward declarations in consumer.h
For better maintenance group the forward declarations together.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'include/linux/gpio')
-rw-r--r-- | include/linux/gpio/consumer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/gpio/consumer.h b/include/linux/gpio/consumer.h index a7eb8aa1e54c..5432e5d5fbfb 100644 --- a/include/linux/gpio/consumer.h +++ b/include/linux/gpio/consumer.h @@ -7,6 +7,7 @@ #include <linux/compiler_types.h> #include <linux/err.h> +struct acpi_device; struct device; struct fwnode_handle; struct gpio_desc; @@ -602,8 +603,6 @@ struct acpi_gpio_mapping { unsigned int quirks; }; -struct acpi_device; - #if IS_ENABLED(CONFIG_GPIOLIB) && IS_ENABLED(CONFIG_ACPI) int acpi_dev_add_driver_gpios(struct acpi_device *adev, |