Commit 29ab875b authored by Linus Walleij's avatar Linus Walleij

gpio: forward-declare enum gpiod_flags

This enum is used in the gpiolib.h header file, yet
<linux/gpio/consumer.h> is not included so plainly including this
file (and some drivers do) will raise compile problems.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent e1fef9e2
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#include <linux/device.h> #include <linux/device.h>
enum of_gpio_flags; enum of_gpio_flags;
enum gpiod_flags;
struct acpi_device; struct acpi_device;
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment