]> err.no Git - linux-2.6/commitdiff
[PATCH] tty: export get_current_tty
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 13 Dec 2006 08:33:41 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:05:46 +0000 (09:05 -0800)
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>
drivers/char/tty_io.c

index 4044c864fdd4da888c1d09126ebb2ce3af77637b..a928f6af52f247cf4eb405df3894fd76d3e78ad5 100644 (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