aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/console.h
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <mpdesouza@suse.com>2025-02-26 16:59:01 -0300
committerPetr Mladek <pmladek@suse.com>2025-03-11 11:49:34 +0100
commite9cec4487cb789645a8c84b13a9ce54c2d89e3bb (patch)
treee9a62b3f24aeced274064e973e05f514b471a441 /include/linux/console.h
parentMerge tag 'drm-next-2025-01-17' of https://gitlab.freedesktop.org/drm/kernel (diff)
downloadwireguard-linux-e9cec4487cb789645a8c84b13a9ce54c2d89e3bb.tar.xz
wireguard-linux-e9cec4487cb789645a8c84b13a9ce54c2d89e3bb.zip
printk: Rename suspend_console to console_suspend_all
The function suspend_console has a misleading name, since it suspends all consoles, 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-1-0b878577f2e6@suse.com [pmladek@suse.com: Fixed typo in the commit message.] Signed-off-by: Petr Mladek <pmladek@suse.com>
Diffstat (limited to 'include/linux/console.h')
-rw-r--r--include/linux/console.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/console.h b/include/linux/console.h
index eba367bf605d..fa5941f4f9c5 100644
--- a/include/linux/console.h
+++ b/include/linux/console.h
@@ -648,7 +648,7 @@ static inline void console_sysfs_notify(void)
extern bool console_suspend_enabled;
/* Suspend and resume console messages over PM events */
-extern void suspend_console(void);
+extern void console_suspend_all(void);
extern void resume_console(void);
int mda_console_init(void);