]> www.infradead.org Git - users/dwmw2/linux.git/commit
printk: Make console_is_usable() available to nbcon.c
authorJohn Ogness <john.ogness@linutronix.de>
Tue, 20 Aug 2024 06:29:42 +0000 (08:35 +0206)
committerPetr Mladek <pmladek@suse.com>
Wed, 21 Aug 2024 12:56:23 +0000 (14:56 +0200)
commit864c25c83d834bdf2cb5a24c768d37236b418410
tree348d172569a93a8f44cadd27aeb5fb5fc43bf186
parent1c17ebb7907a809a92f978995c27a53ead2526ee
printk: Make console_is_usable() available to nbcon.c

Move console_is_usable() as-is into internal.h so that it can
be used by nbcon printing functions as well.

Signed-off-by: John Ogness <john.ogness@linutronix.de>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20240820063001.36405-17-john.ogness@linutronix.de
Signed-off-by: Petr Mladek <pmladek@suse.com>
kernel/printk/internal.h
kernel/printk/printk.c