gpiolib: Group forward declarations in consumer.h
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 7 Feb 2023 14:29:51 +0000 (16:29 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 6 Mar 2023 10:33:02 +0000 (12:33 +0200)
For better maintenance group the forward declarations together.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
include/linux/gpio/consumer.h

index a7eb8aa1e54c86ecedf5d3e973c0eed28ebaf780..5432e5d5fbfb8ba00cb51d34306a204adf5bde71 100644 (file)
@@ -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,