diff options
author | 2025-02-26 16:59:04 -0300 | |
---|---|---|
committer | 2025-03-11 12:51:21 +0100 | |
commit | 5395e09c803e20ea0713eaa3a44bc8dd36a009b7 (patch) | |
tree | 870f749ba3860c11dfc32228205556274ee1bc3b /kernel | |
parent | printk: Rename console_stop to console_suspend (diff) | |
download | wireguard-linux-5395e09c803e20ea0713eaa3a44bc8dd36a009b7.tar.xz wireguard-linux-5395e09c803e20ea0713eaa3a44bc8dd36a009b7.zip |
printk: Rename console_start to console_resume
The intent of console_start was to resume a previously suspended console,
so rename it accordingly.
Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Reviewed-by: John Ogness <john.ogness@linutronix.de>
Link: https://lore.kernel.org/r/20250226-printk-renaming-v1-4-0b878577f2e6@suse.com
[pmladek@suse.com: Fixed typo in the commit message. Updated also new drm_log.c.]
Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/printk/printk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c index 48e4fc51c88f..c9843946559c 100644 --- a/kernel/printk/printk.c +++ b/kernel/printk/printk.c @@ -3517,7 +3517,7 @@ void console_suspend(struct console *console) } EXPORT_SYMBOL(console_suspend); -void console_start(struct console *console) +void console_resume(struct console *console) { struct console_flush_type ft; bool is_nbcon; @@ -3542,7 +3542,7 @@ void console_start(struct console *console) __pr_flush(console, 1000, true); } -EXPORT_SYMBOL(console_start); +EXPORT_SYMBOL(console_resume); #ifdef CONFIG_PRINTK static int unregister_console_locked(struct console *console); |