[PATCH] - s390, sclp compile fix

From: Bastian Blank
Date: Sun Oct 03 2004 - 15:59:37 EST


The attached patch makes s390 sclp driver buildable again.

Bastian

--
Where there's no emotion, there's no motive for violence.
-- Spock, "Dagger of the Mind", stardate 2715.1
diff -ur linux-2.6.9-rc3.orig/drivers/s390/char/sclp_tty.c linux-2.6.9-rc3/drivers/s390/char/sclp_tty.c
--- linux-2.6.9-rc3.orig/drivers/s390/char/sclp_tty.c 2004-10-03 20:37:30.000000000 +0000
+++ linux-2.6.9-rc3/drivers/s390/char/sclp_tty.c 2004-10-03 18:16:39.000000000 +0000
@@ -277,7 +277,7 @@
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);
}
}

diff -ur linux-2.6.9-rc3.orig/drivers/s390/char/sclp_vt220.c linux-2.6.9-rc3/drivers/s390/char/sclp_vt220.c
--- linux-2.6.9-rc3.orig/drivers/s390/char/sclp_vt220.c 2004-10-03 20:37:30.000000000 +0000
+++ linux-2.6.9-rc3/drivers/s390/char/sclp_vt220.c 2004-10-03 18:17:52.000000000 +0000
@@ -139,7 +139,7 @@
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);
}
}

Attachment: signature.asc
Description: Digital signature