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