patch-2.3.1 linux/drivers/block/acsi_slm.c

Next file: linux/drivers/block/aec6210.c
Previous file: linux/drivers/block/acsi.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/block/acsi_slm.c linux/drivers/block/acsi_slm.c
@@ -143,8 +143,8 @@
 static int				SLMError;
 
 /* wait queues */
-static struct wait_queue *slm_wait;		/* waiting for buffer */
-static struct wait_queue *print_wait;	/* waiting for printing finished */
+static DECLARE_WAIT_QUEUE_HEAD(slm_wait);	/* waiting for buffer */
+static DECLARE_WAIT_QUEUE_HEAD(print_wait);	/* waiting for printing finished */
 
 /* status codes */
 #define	SLMSTAT_OK		0x00

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