diff options
Diffstat (limited to 'include/linux/console.h')
| -rw-r--r-- | include/linux/console.h | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/console.h b/include/linux/console.h index dedb082fe50..29680a8cda9 100644 --- a/include/linux/console.h +++ b/include/linux/console.h @@ -77,7 +77,9 @@ extern const struct consw prom_con;	/* SPARC PROM console */  int con_is_bound(const struct consw *csw);  int register_con_driver(const struct consw *csw, int first, int last);  int unregister_con_driver(const struct consw *csw); +int do_unregister_con_driver(const struct consw *csw);  int take_over_console(const struct consw *sw, int first, int last, int deflt); +int do_take_over_console(const struct consw *sw, int first, int last, int deflt);  void give_up_console(const struct consw *sw);  #ifdef CONFIG_HW_CONSOLE  int con_debug_enter(struct vc_data *vc); @@ -157,7 +159,12 @@ extern int is_console_locked(void);  extern int braille_register_console(struct console *, int index,  		char *console_options, char *braille_options);  extern int braille_unregister_console(struct console *); +#ifdef CONFIG_TTY  extern void console_sysfs_notify(void); +#else +static inline void console_sysfs_notify(void) +{ } +#endif  extern bool console_suspend_enabled;  /* Suspend and resume console messages over PM events */  |