linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i8042: add missing include
@ 2017-06-26 14:50 Michał Mirosław
  0 siblings, 0 replies; 3+ messages in thread
From: Michał Mirosław @ 2017-06-26 14:50 UTC (permalink / raw)
  To: linux-input; +Cc: Dmitry Torokhov

linux/i8042.h include requires ENODEV defined for
!IS_ENABLED(CONFIG_SERIO_I8042) case.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
---
 include/linux/i8042.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/i8042.h b/include/linux/i8042.h
index d98780ca9604..76c09949d881 100644
--- a/include/linux/i8042.h
+++ b/include/linux/i8042.h
@@ -7,6 +7,7 @@
  * the Free Software Foundation.
  */
 
+#include <linux/errno.h>
 #include <linux/types.h>
 
 /*
-- 
2.11.0


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

* [PATCH] i8042: add missing include
@ 2023-04-29 19:06 Michał Mirosław
  2023-05-02  0:39 ` Dmitry Torokhov
  0 siblings, 1 reply; 3+ messages in thread
From: Michał Mirosław @ 2023-04-29 19:06 UTC (permalink / raw)
  To: Dmitry Torokhov; +Cc: linux-input

<linux/i8042.h> include uses ENODEV when included with
!IS_ENABLED(CONFIG_SERIO_I8042) and so need to include it.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
---
 include/linux/i8042.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/i8042.h b/include/linux/i8042.h
index 0261e2fb3636..95b07f8b77fe 100644
--- a/include/linux/i8042.h
+++ b/include/linux/i8042.h
@@ -3,6 +3,7 @@
 #define _LINUX_I8042_H
 
 
+#include <linux/errno.h>
 #include <linux/types.h>
 
 /*
-- 
2.30.2


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

* Re: [PATCH] i8042: add missing include
  2023-04-29 19:06 [PATCH] i8042: add missing include Michał Mirosław
@ 2023-05-02  0:39 ` Dmitry Torokhov
  0 siblings, 0 replies; 3+ messages in thread
From: Dmitry Torokhov @ 2023-05-02  0:39 UTC (permalink / raw)
  To: Michał Mirosław; +Cc: linux-input

On Sat, Apr 29, 2023 at 09:06:49PM +0200, Michał Mirosław wrote:
> <linux/i8042.h> include uses ENODEV when included with
> !IS_ENABLED(CONFIG_SERIO_I8042) and so need to include it.
> 
> Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>

Applied, thank you.

-- 
Dmitry

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

end of thread, other threads:[~2023-05-02  0:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-29 19:06 [PATCH] i8042: add missing include Michał Mirosław
2023-05-02  0:39 ` Dmitry Torokhov
  -- strict thread matches above, loose matches on Subject: below --
2017-06-26 14:50 Michał Mirosław

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).