patch-2.3.1 linux/drivers/cdrom/sjcd.c

Next file: linux/drivers/cdrom/sonycd535.c
Previous file: linux/drivers/cdrom/sbpcd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/cdrom/sjcd.c linux/drivers/cdrom/sjcd.c
@@ -115,7 +115,7 @@
 MODULE_PARM(sjcd_base, "i");
 #endif
 
-static struct wait_queue *sjcd_waitq = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(sjcd_waitq);
 
 /*
  * Data transfer.

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