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

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

diff -u --recursive --new-file v2.3.0/linux/drivers/cdrom/optcd.c linux/drivers/cdrom/optcd.c
@@ -257,7 +257,7 @@
 
 /* Timed waiting for status or data */
 static int sleep_timeout;	/* max # of ticks to sleep */
-static struct wait_queue *waitq = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(waitq);
 static struct timer_list delay_timer = {NULL, NULL, 0, 0, NULL};
 
 #define SET_TIMER(func, jifs) \

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