]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
console: dummycon: export dummycon_[un]register_output_notifier
authorHans de Goede <hdegoede@redhat.com>
Fri, 29 Jun 2018 09:46:19 +0000 (11:46 +0200)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Fri, 29 Jun 2018 09:46:19 +0000 (11:46 +0200)
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

index 45ad925ad5f8fbb203a137c0ab114f4fb71d62f2..0254251fdd79a745e77a46793915e55425b4770f 100644 (file)
@@ -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)
 {