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 47b858cffc47..29680a8cda99 100644 --- a/include/linux/console.h +++ b/include/linux/console.h | |||
@@ -159,7 +159,12 @@ extern int is_console_locked(void); | |||
159 | extern int braille_register_console(struct console *, int index, | 159 | extern int braille_register_console(struct console *, int index, |
160 | char *console_options, char *braille_options); | 160 | char *console_options, char *braille_options); |
161 | extern int braille_unregister_console(struct console *); | 161 | extern int braille_unregister_console(struct console *); |
162 | #ifdef CONFIG_TTY | ||
162 | extern void console_sysfs_notify(void); | 163 | extern void console_sysfs_notify(void); |
164 | #else | ||
165 | static inline void console_sysfs_notify(void) | ||
166 | { } | ||
167 | #endif | ||
163 | extern bool console_suspend_enabled; | 168 | extern bool console_suspend_enabled; |
164 | 169 | ||
165 | /* Suspend and resume console messages over PM events */ | 170 | /* Suspend and resume console messages over PM events */ |