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>
This commit is contained in:
parent
91e5ae95a0
commit
5b1911976c
@ -7,6 +7,7 @@
|
|||||||
#include <linux/compiler_types.h>
|
#include <linux/compiler_types.h>
|
||||||
#include <linux/err.h>
|
#include <linux/err.h>
|
||||||
|
|
||||||
|
struct acpi_device;
|
||||||
struct device;
|
struct device;
|
||||||
struct fwnode_handle;
|
struct fwnode_handle;
|
||||||
struct gpio_desc;
|
struct gpio_desc;
|
||||||
@ -602,8 +603,6 @@ struct acpi_gpio_mapping {
|
|||||||
unsigned int quirks;
|
unsigned int quirks;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct acpi_device;
|
|
||||||
|
|
||||||
#if IS_ENABLED(CONFIG_GPIOLIB) && IS_ENABLED(CONFIG_ACPI)
|
#if IS_ENABLED(CONFIG_GPIOLIB) && IS_ENABLED(CONFIG_ACPI)
|
||||||
|
|
||||||
int acpi_dev_add_driver_gpios(struct acpi_device *adev,
|
int acpi_dev_add_driver_gpios(struct acpi_device *adev,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user