aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/console.h')
-rw-r--r--include/linux/console.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/console.h b/include/linux/console.h
index 47b858cffc47..29680a8cda99 100644
--- a/include/linux/console.h
+++ b/include/linux/console.h
@@ -159,7 +159,12 @@ extern int is_console_locked(void);
159extern int braille_register_console(struct console *, int index, 159extern int braille_register_console(struct console *, int index,
160 char *console_options, char *braille_options); 160 char *console_options, char *braille_options);
161extern int braille_unregister_console(struct console *); 161extern int braille_unregister_console(struct console *);
162#ifdef CONFIG_TTY
162extern void console_sysfs_notify(void); 163extern void console_sysfs_notify(void);
164#else
165static inline void console_sysfs_notify(void)
166{ }
167#endif
163extern bool console_suspend_enabled; 168extern bool console_suspend_enabled;
164 169
165/* Suspend and resume console messages over PM events */ 170/* Suspend and resume console messages over PM events */