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

Next file: linux/drivers/char/radio-cadet.c
Previous file: linux/drivers/char/n_tty.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.22/linux/drivers/char/pcxx.c linux/drivers/char/pcxx.c
@@ -1589,8 +1589,8 @@
 			ch->blocked_open = 0;
 			ch->callout_termios = pcxe_callout.init_termios;
 			ch->normal_termios = pcxe_driver.init_termios;
-			init_waitqueue_head(ch->open_wait);
-			init_waitqueue_head(ch->close_wait);
+			init_waitqueue_head(&ch->open_wait);
+			init_waitqueue_head(&ch->close_wait);
 			ch->asyncflags = 0;
 		}
 

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