projects
/
linux.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
|
history
diff --git
a/drivers/gpio/gpiolib.h
b/drivers/gpio/gpiolib.h
index
2b87cbd
..
0a7c02d
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;
/**