aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/tty_io.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2006-12-13 03:33:41 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-13 12:05:46 -0500
commita311f74329ee15cfae9576a45feefc1e935ca0c5 (patch)
tree353c86a0c39e970734616e02b5b8f353c3e31c5c /drivers/char/tty_io.c
parent24d34dc56449a322d8140d497440d3c1bea49618 (diff)
[PATCH] tty: export get_current_tty
24ec839c431eb79bb8f6abc00c4e1eb3b8c4d517 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>
Diffstat (limited to 'drivers/char/tty_io.c')
-rw-r--r--drivers/char/tty_io.c1
1 files changed, 1 insertions, 0 deletions
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)
3821 barrier(); 3821 barrier();
3822 return tty; 3822 return tty;
3823} 3823}
3824EXPORT_SYMBOL_GPL(get_current_tty);
3824 3825
3825/* 3826/*
3826 * Initialize the console device. This is called *early*, so 3827 * Initialize the console device. This is called *early*, so