--- zzzz-none-000/linux-4.9.276/include/linux/tty_driver.h 2021-07-20 14:21:16.000000000 +0000 +++ falcon-5530-750/linux-4.9.276/include/linux/tty_driver.h 2023-04-05 08:19:02.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; };