Skip to content

Commit 5b19119

Browse files
committed
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>
1 parent 91e5ae9 commit 5b19119

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

include/linux/gpio/consumer.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <linux/compiler_types.h>
88
#include <linux/err.h>
99

10+
struct acpi_device;
1011
struct device;
1112
struct fwnode_handle;
1213
struct gpio_desc;
@@ -602,8 +603,6 @@ struct acpi_gpio_mapping {
602603
unsigned int quirks;
603604
};
604605

605-
struct acpi_device;
606-
607606
#if IS_ENABLED(CONFIG_GPIOLIB) && IS_ENABLED(CONFIG_ACPI)
608607

609608
int acpi_dev_add_driver_gpios(struct acpi_device *adev,

0 commit comments

Comments
 (0)