]> git.karo-electronics.de Git - linux-beck.git/commitdiff
gpio: forward-declare enum gpiod_flags
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Dec 2015 21:45:10 +0000 (22:45 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 11 Dec 2015 18:14:35 +0000 (19:14 +0100)
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>
drivers/gpio/gpiolib.h

index 2b87cbd68478ca0526676d1382acf80f70b22d3f..0a7c02d769090974fab55553d82b0b9c56832ec6 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/device.h>
 
 enum of_gpio_flags;
-
+enum gpiod_flags;
 struct acpi_device;
 
 /**