diff options
author | Jeremy Cline <jcline@redhat.com> | 2018-10-23 14:36:56 -0400 |
---|---|---|
committer | Jeremy Cline <jcline@redhat.com> | 2018-10-23 14:36:56 -0400 |
commit | 764628643cfcb53d59edf15adf7f32508a220c0e (patch) | |
tree | 74ca9229375ba1562da2fee8ceb0f658f11f9bb8 /0008-console-dummycon-export-dummycon_-un-register_output.patch | |
parent | 6fcbd945bc574b93b64a087473420454f2dda0e5 (diff) | |
download | kernel-764628643cfcb53d59edf15adf7f32508a220c0e.tar.gz kernel-764628643cfcb53d59edf15adf7f32508a220c0e.tar.xz kernel-764628643cfcb53d59edf15adf7f32508a220c0e.zip |
Sync up stabilization with f29
Diffstat (limited to '0008-console-dummycon-export-dummycon_-un-register_output.patch')
-rw-r--r-- | 0008-console-dummycon-export-dummycon_-un-register_output.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/0008-console-dummycon-export-dummycon_-un-register_output.patch b/0008-console-dummycon-export-dummycon_-un-register_output.patch new file mode 100644 index 000000000..955d5e1d8 --- /dev/null +++ b/0008-console-dummycon-export-dummycon_-un-register_output.patch @@ -0,0 +1,39 @@ +From b4e821e0b782ff2e816ca342af6a9eab32116ece Mon Sep 17 00:00:00 2001 +From: Hans de Goede <hdegoede@redhat.com> +Date: Fri, 29 Jun 2018 11:46:19 +0200 +Subject: [PATCH 8/8] console: dummycon: export + dummycon_[un]register_output_notifier + +Export dummycon_[un]register_output_notifier, the fbcon code needs this +and may be build as a module. + +Fixes: 83d83bebf401 ("console/fbcon: Add support for deferred console takeover") +Cc: Stephen Rothwell <sfr@canb.auug.org.au> +Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> +Signed-off-by: Hans de Goede <hdegoede@redhat.com> +Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> +--- + drivers/video/console/dummycon.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/drivers/video/console/dummycon.c b/drivers/video/console/dummycon.c +index 45ad925ad5f8..0254251fdd79 100644 +--- a/drivers/video/console/dummycon.c ++++ b/drivers/video/console/dummycon.c +@@ -38,11 +38,13 @@ void dummycon_register_output_notifier(struct notifier_block *nb) + if (dummycon_putc_called) + nb->notifier_call(nb, 0, NULL); + } ++EXPORT_SYMBOL_GPL(dummycon_register_output_notifier); + + void dummycon_unregister_output_notifier(struct notifier_block *nb) + { + raw_notifier_chain_unregister(&dummycon_output_nh, nb); + } ++EXPORT_SYMBOL_GPL(dummycon_unregister_output_notifier); + + static void dummycon_putc(struct vc_data *vc, int c, int ypos, int xpos) + { +-- +2.18.0 + |