projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39b2bbe
)
gpio: add missing includes in machine.h
author
Alexandre Courbot
<
[email protected]
>
Mon, 4 Aug 2014 04:05:56 +0000
(13:05 +0900)
committer
Linus Walleij
<
[email protected]
>
Thu, 7 Aug 2014 09:54:51 +0000
(11:54 +0200)
linux/types.h and linux/list.h should be included so the typed used in
the header file are always properly declared.
Reported-by: Stephen Rothwell <
[email protected]
>
Reported-by: Thierry Reding <
[email protected]
>
Signed-off-by: Alexandre Courbot <
[email protected]
>
Signed-off-by: Linus Walleij <
[email protected]
>
include/linux/gpio/machine.h
patch
|
blob
|
history
diff --git
a/include/linux/gpio/machine.h
b/include/linux/gpio/machine.h
index b8ad87fab4ce92ef0ef023d016c97e4c2c192d13..e2706140eafffe99017f175b564ef219b2d5fa0d 100644
(file)
--- a/
include/linux/gpio/machine.h
+++ b/
include/linux/gpio/machine.h
@@
-1,6
+1,9
@@
#ifndef __LINUX_GPIO_MACHINE_H
#define __LINUX_GPIO_MACHINE_H
+#include <linux/types.h>
+#include <linux/list.h>
+
enum gpio_lookup_flags {
GPIO_ACTIVE_HIGH = (0 << 0),
GPIO_ACTIVE_LOW = (1 << 0),