patch-2.3.1 linux/drivers/sound/gus_wave.c
Next file: linux/drivers/sound/midibuf.c
Previous file: linux/drivers/sound/es1371.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue May 11 23:40:50 1999
- Orig file:
v2.3.0/linux/drivers/sound/gus_wave.c
- Orig date:
Thu Jan 28 11:25:04 1999
diff -u --recursive --new-file v2.3.0/linux/drivers/sound/gus_wave.c linux/drivers/sound/gus_wave.c
@@ -118,7 +118,7 @@
static int gus_audio_bsize;
static char bounce_buf[8 * 1024]; /* Must match value set to max_fragment */
-static struct wait_queue *dram_sleeper = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(dram_sleeper);
/*
* Variables and buffers for PCM output
@@ -1663,7 +1663,7 @@
gus_no_dma = 0;
}
- init_waitqueue(&dram_sleeper);
+ init_waitqueue_head(&dram_sleeper);
gus_busy = 1;
active_device = GUS_DEV_WAVE;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)