projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1fef9e
)
gpio: forward-declare enum gpiod_flags
author
Linus Walleij
<linus.walleij@linaro.org>
Tue, 8 Dec 2015 21:45:10 +0000
(22:45 +0100)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpiolib.h
b/drivers/gpio/gpiolib.h
index 2b87cbd68478ca0526676d1382acf80f70b22d3f..0a7c02d769090974fab55553d82b0b9c56832ec6 100644
(file)
--- 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;
/**