Adjust bootsplash patch. Tested for compilation on 5.10.y and 5.11.y (#2633)

This commit is contained in:
Igor Pečovnik 2021-02-15 13:19:17 +01:00 committed by GitHub
parent d5917f2379
commit 44ac64823d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,15 +2,14 @@ diff --git a/drivers/tty/vt/keyboard.c b/drivers/tty/vt/keyboard.c
index f4166263bb3a..a248429194bb 100644
--- a/drivers/tty/vt/keyboard.c
+++ b/drivers/tty/vt/keyboard.c
@@ -47,6 +47,8 @@
#include <asm/irq_regs.h>
@@ -28,6 +28,7 @@
* 21-08-02: Converted to input API, major cleanup. (Vojtech Pavlik)
*/
+#include <linux/bootsplash.h>
+
extern void ctrl_alt_del(void);
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
/*
#include <linux/consolemap.h>
@@ -1353,6 +1355,28 @@ static void kbd_keycode(unsigned int keycode, int down, int hw_raw)
}
#endif