patch-2.3.3 linux/drivers/char/pcxx.c

Next file: linux/drivers/char/pcxx.h
Previous file: linux/drivers/char/keyboard.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.2/linux/drivers/char/pcxx.c linux/drivers/char/pcxx.c
@@ -326,7 +326,7 @@
 
 static int pcxx_waitcarrier(struct tty_struct *tty,struct file *filp,struct channel *info)
 {
-	struct wait_queue wait = { current, NULL };
+	DECLARE_WAITQUEUE(wait, current);
 	int	retval = 0;
 	int	do_clocal = 0;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)