]> git.hungrycats.org Git - linux/commitdiff
[PATCH] s390: sclp compile fix
authorBastian Blank <bastian@waldi.eu.org>
Sun, 3 Oct 2004 10:03:46 +0000 (03:03 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 3 Oct 2004 10:03:46 +0000 (03:03 -0700)
The attached patch makes s390 sclp driver buildable again.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/char/sclp_tty.c
drivers/s390/char/sclp_vt220.c

index 9cb4613db3f6624a2b1ceb8cbdd8b3aa42344b9b..cd11cb171d15678c29c7587fd161f8d61780734c 100644 (file)
@@ -277,7 +277,7 @@ sclp_ttybuf_callback(struct sclp_buffer *buffer, int rc)
        wake_up(&sclp_tty_waitq);
        /* check if the tty needs a wake up call */
        if (sclp_tty != NULL) {
-               tty_wakeup(tty);
+               tty_wakeup(sclp_tty);
        }
 }
 
index c516e002b61c09c1714a223b075f90168beae157..cc143fa9f50629c7ea5a5f69e784712460f37e55 100644 (file)
@@ -139,7 +139,7 @@ sclp_vt220_process_queue(struct sclp_vt220_request *request)
        wake_up(&sclp_vt220_waitq);
        /* Check if the tty needs a wake up call */
        if (sclp_vt220_tty != NULL) {
-               tty_wakeup(tty);
+               tty_wakeup(sclp_vt220_tty);
        }
 }