linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] input: gpio_keys: add missing include to gpio_keys.h
@ 2018-06-27  7:34 Matti Vaittinen
  2018-07-18 16:48 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Matti Vaittinen @ 2018-06-27  7:34 UTC (permalink / raw)
  To: dmitry.torokhov, robh, gregkh, tglx, jeffy.chen, matti.vaittinen
  Cc: linux-kernel, linux-input

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

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
---
 include/linux/gpio_keys.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/gpio_keys.h b/include/linux/gpio_keys.h
index 7160df54a6fe..3f84aeb81e48 100644
--- a/include/linux/gpio_keys.h
+++ b/include/linux/gpio_keys.h
@@ -2,6 +2,8 @@
 #ifndef _GPIO_KEYS_H
 #define _GPIO_KEYS_H
 
+#include <linux/types.h>
+
 struct device;
 
 /**
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] input: gpio_keys: add missing include to gpio_keys.h
  2018-06-27  7:34 [PATCH] input: gpio_keys: add missing include to gpio_keys.h Matti Vaittinen
@ 2018-07-18 16:48 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2018-07-18 16:48 UTC (permalink / raw)
  To: Matti Vaittinen; +Cc: robh, gregkh, tglx, jeffy.chen, linux-kernel, linux-input

On Wed, Jun 27, 2018 at 10:34:58AM +0300, Matti Vaittinen wrote:
> gpio_keys.h uses 'bool' - type which is defined in linux/types.h.
> Include this header.
> 
> Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>

Applied, thank you.

> ---
>  include/linux/gpio_keys.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/include/linux/gpio_keys.h b/include/linux/gpio_keys.h
> index 7160df54a6fe..3f84aeb81e48 100644
> --- a/include/linux/gpio_keys.h
> +++ b/include/linux/gpio_keys.h
> @@ -2,6 +2,8 @@
>  #ifndef _GPIO_KEYS_H
>  #define _GPIO_KEYS_H
>  
> +#include <linux/types.h>
> +
>  struct device;
>  
>  /**
> -- 
> 2.14.3
> 

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-18 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-27  7:34 [PATCH] input: gpio_keys: add missing include to gpio_keys.h Matti Vaittinen
2018-07-18 16:48 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).