diff options
Diffstat (limited to 'include/linux/console.h')
| -rw-r--r-- | include/linux/console.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/console.h b/include/linux/console.h index dedb082fe50f..3b709da1786e 100644 --- a/include/linux/console.h +++ b/include/linux/console.h | |||
| @@ -157,7 +157,12 @@ extern int is_console_locked(void); | |||
| 157 | extern int braille_register_console(struct console *, int index, | 157 | extern int braille_register_console(struct console *, int index, |
| 158 | char *console_options, char *braille_options); | 158 | char *console_options, char *braille_options); |
| 159 | extern int braille_unregister_console(struct console *); | 159 | extern int braille_unregister_console(struct console *); |
| 160 | #ifdef CONFIG_TTY | ||
| 160 | extern void console_sysfs_notify(void); | 161 | extern void console_sysfs_notify(void); |
| 162 | #else | ||
| 163 | static inline void console_sysfs_notify(void) | ||
| 164 | { } | ||
| 165 | #endif | ||
| 161 | extern bool console_suspend_enabled; | 166 | extern bool console_suspend_enabled; |
| 162 | 167 | ||
| 163 | /* Suspend and resume console messages over PM events */ | 168 | /* Suspend and resume console messages over PM events */ |
