patch-2.3.3 linux/drivers/ap1000/ap.c

Next file: linux/drivers/ap1000/ddv.c
Previous file: linux/drivers/acorn/block/mfmhd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.2/linux/drivers/ap1000/ap.c linux/drivers/ap1000/ap.c
@@ -36,7 +36,7 @@
 #define NUM_APDEVS 8
 #define MAX_REQUESTS 1
 
-static struct wait_queue * busy_wait = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(busy_wait);
 
 static int ap_blocksizes[NUM_APDEVS];
 static int ap_length[NUM_APDEVS];

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