[PATCH] i8042: add missing include

From: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Date: 2017-06-26 14:50:32
Subsystem: input (keyboard, mouse, joystick, touchscreen) drivers, the rest · Maintainers: Dmitry Torokhov, Linus Torvalds

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help