diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 4044c864fdd4..a928f6af52f2 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ -3821,6 +3821,7 @@ struct tty_struct *get_current_tty(void) barrier(); return tty; } +EXPORT_SYMBOL_GPL(get_current_tty); /* * Initialize the console device. This is called *early*, so