diff options
author | Jiri Slaby <jslaby@suse.cz> | 2020-10-29 12:32:07 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-11-04 16:43:37 +0100 |
commit | 0df97c7b5b1878273925483cf43fd67df7613d84 (patch) | |
tree | 26fc2c664488c438f85a36655a57cdfe88685c70 /drivers/tty | |
parent | 6b8f8313c3174a8caa45ef5319cb9c8dde7cb8a8 (diff) |
vt: keyboard, include linux/spinlock.h
We use spin locks, but don't include linux/spinlock.h in keyboards.c. So
fix this up.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20201029113222.32640-2-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/vt/keyboard.c | 1 |
1 files changed, 1 insertions, 0 deletions
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> |