diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-12-08 22:45:10 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-12-11 19:14:35 +0100 |
commit | 29ab875b7b4892af1a6cd0084faed37245b8dd2c (patch) | |
tree | e0412041a1306113217abcfd4212038d78352184 /drivers/gpio/gpiolib.h | |
parent | e1fef9e2ce4272b720ecb1ce696a72aaddbb7585 (diff) | |
download | blackbird-op-linux-29ab875b7b4892af1a6cd0084faed37245b8dd2c.tar.gz blackbird-op-linux-29ab875b7b4892af1a6cd0084faed37245b8dd2c.zip |
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: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib.h')
-rw-r--r-- | drivers/gpio/gpiolib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpiolib.h b/drivers/gpio/gpiolib.h index 2b87cbd68478..0a7c02d76909 100644 --- a/drivers/gpio/gpiolib.h +++ b/drivers/gpio/gpiolib.h @@ -16,7 +16,7 @@ #include <linux/device.h> enum of_gpio_flags; - +enum gpiod_flags; struct acpi_device; /** |