patch-2.3.1 linux/drivers/scsi/atari_scsi.c

Next file: linux/drivers/scsi/eata_dma_proc.c
Previous file: linux/drivers/scsi/aha152x.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/scsi/atari_scsi.c linux/drivers/scsi/atari_scsi.c
@@ -497,9 +497,9 @@
 static int falcon_got_lock = 0;
-static struct wait_queue	*falcon_fairness_wait = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(falcon_fairness_wait);
 static int falcon_trying_lock = 0;
-static struct wait_queue	*falcon_try_wait = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(falcon_try_wait);
 static int falcon_dont_release = 0;
 /* This function releases the lock on the DMA chip if there is no

TCL-scripts by Sam Shen (who was at: