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

Next file: linux/drivers/isdn/avmb1/capidev.h
Previous file: linux/drivers/char/planb.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.2/linux/drivers/char/serial167.c linux/drivers/char/serial167.c
@@ -2007,7 +2007,7 @@
 block_til_ready(struct tty_struct *tty, struct file * filp,
                            struct cyclades_port *info)
 {
-  struct wait_queue wait = { current, NULL };
+  DECLARE_WAITQUEUE(wait, current);
   unsigned long flags;
   int channel;
   int retval;

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