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

Next file: linux/drivers/cdrom/cdu31a.c
Previous file: linux/drivers/block/xd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/cdrom/aztcd.c linux/drivers/cdrom/aztcd.c
@@ -303,7 +303,7 @@
 static char  azt_auto_eject = AZT_AUTO_EJECT;
 
 static int AztTimeout, AztTries;
-static struct wait_queue *azt_waitq = NULL; 
+static DECLARE_WAIT_QUEUE_HEAD(azt_waitq);
 static struct timer_list delay_timer = { NULL, NULL, 0, 0, NULL };
 
 static struct azt_DiskInfo DiskInfo;

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