# \[PATCH v5 1/2\] printk: Export console\_printk

- Subsystems: PRINTK, THE REST
- Maintainers: Petr Mladek, John Ogness, Linus Torvalds
- Status: REVIEWED · 1 review, 1 by a maintainer (M Sergey Senozhatsky)
- Reviewed.
- 1 review trailer.
- List: linux-fbdev
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-fbdev/2019/01/13466914/t

## \[PATCH v5 1/2\] printk: Export console\_printk

- From: Prarit Bhargava \<hidden\>
- Date: 2019-01-29 13:43:49 
- Message: https://ratatoskr.run/linux-fbdev/2019/01/13466914.md

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

Export console_printk.

Signed-off-by: Prarit Bhargava <redacted>
Reviewed-by: Sergey Senozhatsky <redacted>
Cc: Petr Mladek <pmladek@suse.com>
---
 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
```
