patch-1.3.33 linux/drivers/char/pty.c

Next file: linux/drivers/char/scc.c
Previous file: linux/drivers/char/psaux.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.32/linux/drivers/char/pty.c linux/drivers/char/pty.c
@@ -211,7 +211,7 @@
 	return 0;
 }
 
-long pty_init(long kmem_start)
+int pty_init(void)
 {
 	memset(&pty_state, 0, sizeof(pty_state));
 	memset(&pty_driver, 0, sizeof(struct tty_driver));
@@ -260,5 +260,5 @@
 	if (tty_register_driver(&pty_slave_driver))
 		panic("Couldn't register pty slave driver");
 	
-	return kmem_start;
+	return 0;
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this