1
0
Fork 0

[PATCH] tty: export get_current_tty

24ec839c43 causes this:

WARNING: "get_current_tty" [drivers/s390/char/fs3270.ko] undefined!

Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
hifive-unleashed-5.1
Heiko Carstens 2006-12-13 00:33:41 -08:00 committed by Linus Torvalds
parent 24d34dc564
commit a311f74329
1 changed files with 1 additions and 0 deletions

View File

@ -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