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

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

diff -u --recursive --new-file v2.3.0/linux/drivers/cdrom/mcd.c linux/drivers/cdrom/mcd.c
@@ -162,7 +162,7 @@
 MODULE_PARM(mcd, "1-2i");
 
 static int McdTimeout, McdTries;
-static struct wait_queue *mcd_waitq = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(mcd_waitq);
 
 static struct mcd_DiskInfo DiskInfo;
 static struct mcd_Toc Toc[MAX_TRACKS];

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