input: gpio_keys: add missing include to gpio_keys.h
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.
Signed-off-by Matti Vaittinen <[email protected]>
--- include/linux/gpio_keys.h | 2 ++ 1 file changed, 2 insertions(+)
include/linux/gpio_keys.h +2 -0
@@ -2,6 +2,8 @@#ifndef _GPIO_KEYS_H#define _GPIO_KEYS_H +#include <linux/types.h> +struct device ;/**
Signature · 1 line
2.14.3
Dmitry Torokhov
AppliedQuoted 4 lines · Matti Vaittinen
gpio_keys.huses 'bool' - type which is defined inlinux/types.h. Include this header.Signed-off-by Matti Vaittinen <[email protected]>
Applied, thank you.
Quoted 20 lines
--- include/linux/gpio_keys.h | 2 ++ 1 file changed, 2 insertions(+)include/linux/gpio_keys.h +2
-0@@ -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