Skip to contentSkip to conversation

input: gpio_keys: add missing include to gpio_keys.h

PATCH Applied Matti Vaittinen 2 participants 2 messages Jun 27, 2018 – Jul 18, 2018 HID

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 input: gpio_keys: add missing include to gpio_keys.h

gpio_keys.h uses 'bool' - type which is defined in linux/types.h. Include this header.

---
 include/linux/gpio_keys.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/gpio_keys.h +2 -0
index 7160df54a6fe..3f84aeb81e48 100644
@@ -2,6 +2,8 @@
 #ifndef _GPIO_KEYS_H
 #define _GPIO_KEYS_H
 
+#include <linux/types.h>
+
 struct device;
 
 /**
Signature · 1 line
2.14.3
#1 lore raw
Quoted 4 lines · Matti Vaittinen

gpio_keys.h uses 'bool' - type which is defined in linux/types.h. Include this header.

Applied, thank you.

Quoted 20 lines
---
 include/linux/gpio_keys.h | 2 ++
 1 file changed, 2 insertions(+)
include/linux/gpio_keys.h +2 -0
index 7160df54a6fe..3f84aeb81e48 100644
@@ -2,6 +2,8 @@
 #ifndef _GPIO_KEYS_H
 #define _GPIO_KEYS_H
 
+#include <linux/types.h>
+
 struct device;
 
 /**
Signature · 1 line
2.14.3
Signature · 1 line
Dmitry