[PATCH v4 2/2] printk: Export console_printk

Prarit Bhargava prarit at redhat.com
Thu Jan 10 19:03:25 UTC 2019


The fbcon code can be built as a module and requires console_printk.

Export console_printk.

Signed-off-by: Prarit Bhargava <prarit at redhat.com>
Cc: Petr Mladek <pmladek at suse.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky at gmail.com>
Cc: Hans de Goede <hdegoede at redhat.com>
Cc: Marko Myllynen <myllynen at redhat.com>
Cc: Steven Rostedt (VMware) <rostedt at goodmis.org>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie at samsung.com>
Cc: Kees Cook <keescook at chromium.org>
Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
Cc: Thierry Reding <treding at nvidia.com>
Cc: Yisheng Xie <ysxie at foxmail.com>
Cc: Petr Mladek <pmladek at suse.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky at gmail.com>
Cc: dri-devel at lists.freedesktop.org
---
 kernel/printk/printk.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index d3d170374ceb..8201019d1fff 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -65,6 +65,7 @@ int console_printk[4] = {
 	CONSOLE_LOGLEVEL_MIN,		/* minimum_console_loglevel */
 	CONSOLE_LOGLEVEL_DEFAULT,	/* default_console_loglevel */
 };
+EXPORT_SYMBOL_GPL(console_printk);
 
 atomic_t ignore_console_lock_warning __read_mostly = ATOMIC_INIT(0);
 EXPORT_SYMBOL(ignore_console_lock_warning);
-- 
2.17.2



More information about the dri-devel mailing list