Skip to contentSkip to conversation

gpio: add missing includes in machine.h

PATCH In review Alexandre Courbot 2 participants 2 messages Aug 4, 2014 – Aug 7, 2014 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: add missing includes in machine.h

linux/types.h and linux/list.h should be included so the typed used in the header file are always properly declared.

---
 include/linux/gpio/machine.h | 3 +++
 1 file changed, 3 insertions(+)
include/linux/gpio/machine.h +3 -0
index b8ad87fab4ce..e2706140eaff 100644
@@ -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),
Signature · 1 line
2.0.3