patch-1.3.15 linux/drivers/char/serial.c

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

diff -u --recursive --new-file v1.3.14/linux/drivers/char/serial.c linux/drivers/char/serial.c
@@ -1293,7 +1293,7 @@
 }
 
 static int rs_write(struct tty_struct * tty, int from_user,
-		    unsigned char *buf, int count)
+		    const unsigned char *buf, int count)
 {
 	int	c, total = 0;
 	struct async_struct *info = (struct async_struct *)tty->driver_data;

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