We use spin locks, but don't include linux/spinlock.h in keyboards.c. So fix this up. Signed-off-by: Jiri Slaby <jslaby@xxxxxxx> --- drivers/tty/vt/keyboard.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c index 69bbb6c1b3de..275093a15564 100644 --- a/drivers/tty/vt/keyboard.c +++ b/drivers/tty/vt/keyboard.c @@ -33,6 +33,7 @@ #include <linux/tty_flip.h> #include <linux/mm.h> #include <linux/nospec.h> +#include <linux/spinlock.h> #include <linux/string.h> #include <linux/init.h> #include <linux/slab.h> -- 2.29.1