--- zzzz-none-000/linux-4.9.231/include/linux/tty_driver.h 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5590-729/linux-4.9.231/include/linux/tty_driver.h 2022-03-30 12:03:35.000000000 +0000 @@ -247,6 +247,7 @@ struct tty_struct; struct tty_driver; struct serial_icounter_struct; +extern unsigned int avm_console_enabled; struct tty_operations { struct tty_struct * (*lookup)(struct tty_driver *driver, @@ -290,6 +291,7 @@ int (*poll_get_char)(struct tty_driver *driver, int line); void (*poll_put_char)(struct tty_driver *driver, int line, char ch); #endif + int (*avm_console_enabled)(struct tty_struct *tty); const struct file_operations *proc_fops; };