From: Heiko Carstens Date: Wed, 13 Dec 2006 08:33:41 +0000 (-0800) Subject: [PATCH] tty: export get_current_tty X-Git-Tag: v2.6.20-rc1~139 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a311f74329ee15cfae9576a45feefc1e935ca0c5;p=platform%2Fkernel%2Flinux-exynos.git [PATCH] tty: export get_current_tty 24ec839c431eb79bb8f6abc00c4e1eb3b8c4d517 causes this: WARNING: "get_current_tty" [drivers/s390/char/fs3270.ko] undefined! Cc: Martin Schwidefsky Acked-by: Peter Zijlstra Signed-off-by: Heiko Carstens Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 4044c86..a928f6a 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