summaryrefslogtreecommitdiffstats
path: root/silence-fbcon-logo.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2017-09-18 14:14:22 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2017-09-18 14:14:22 -0500
commitab0c52a53b37cd572e5b8d68c74d71360a33ecc7 (patch)
treef0292b2ee67dd4b3016de88fbac40db069c40680 /silence-fbcon-logo.patch
parent77c153240f961fc67098ce5febeb22b299b73247 (diff)
downloadkernel-ab0c52a53b37cd572e5b8d68c74d71360a33ecc7.tar.gz
kernel-ab0c52a53b37cd572e5b8d68c74d71360a33ecc7.tar.xz
kernel-ab0c52a53b37cd572e5b8d68c74d71360a33ecc7.zip
Linux v4.14-rc1
Diffstat (limited to 'silence-fbcon-logo.patch')
-rw-r--r--silence-fbcon-logo.patch19
1 files changed, 9 insertions, 10 deletions
diff --git a/silence-fbcon-logo.patch b/silence-fbcon-logo.patch
index b8f099679..2054b3c6b 100644
--- a/silence-fbcon-logo.patch
+++ b/silence-fbcon-logo.patch
@@ -6,13 +6,13 @@ Subject: [PATCH] silence fbcon logo
Bugzilla: N/A
Upstream-status: Fedora mustard
---
- drivers/video/console/fbcon.c | 26 +++++++++++++++++++-------
+ drivers/video/fbdev/core/fbcon.c | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)
-diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
+diff --git a/drivers/video/fbdev/core/fbcon.c b/drivers/video/fbdev/core/fbcon.c
index afd3301ac40c..2e08ba0ade3e 100644
---- a/drivers/video/console/fbcon.c
-+++ b/drivers/video/console/fbcon.c
+--- a/drivers/video/fbdev/core/fbcon.c
++++ b/drivers/video/fbdev/core/fbcon.c
@@ -634,13 +634,15 @@ static void fbcon_prepare_logo(struct vc_data *vc, struct fb_info *info,
kfree(save);
}
@@ -36,10 +36,11 @@ index afd3301ac40c..2e08ba0ade3e 100644
}
}
#endif /* MODULE */
-@@ -3654,6 +3656,16 @@ static void __exit fb_console_exit(void)
-
- module_exit(fb_console_exit);
-
+@@ -3671,4 +3671,15 @@ void __exit fb_console_exit(void)
+ do_unregister_con_driver(&fb_con);
+ console_unlock();
+ }
++
+#else
+
+static int __init quiet_logo(char *str)
@@ -51,8 +52,6 @@ index afd3301ac40c..2e08ba0ade3e 100644
+early_param("quiet", quiet_logo);
+
#endif
-
- MODULE_LICENSE("GPL");
--
2.7.4