Input: i8042 - add missing include
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Tue, 2 May 2023 00:39:45 +0000 (17:39 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 2 May 2023 00:50:18 +0000 (17:50 -0700)
<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>
Link: https://lore.kernel.org/r/49fd4d400d1ab62095e5ed75a6637f883c0d071b.1682795105.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
include/linux/i8042.h

index 0261e2fb363644b2e9001c0cea191fe85e15118d..95b07f8b77fe547fd6d94fb4e380315d5e5de595 100644 (file)
@@ -3,6 +3,7 @@
 #define _LINUX_I8042_H
 
 
+#include <linux/errno.h>
 #include <linux/types.h>
 
 /*