patch-2.3.1 linux/drivers/sound/wavfront.c

Next file: linux/drivers/usb/Config.in
Previous file: linux/drivers/sound/sonicvibes.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/sound/wavfront.c linux/drivers/sound/wavfront.c
@@ -290,7 +290,7 @@
 	int samples_used;                  /* how many */
 	char interrupts_on;                /* h/w MPU interrupts enabled ? */
 	char rom_samples_rdonly;           /* can we write on ROM samples */
-	struct wait_queue *interrupt_sleeper; 
+	wait_queue_head_t interrupt_sleeper; 
 } dev;
 
 static int  detect_wffx(void);
@@ -2535,7 +2535,7 @@
 
 	}
 
-	init_waitqueue (&dev.interrupt_sleeper);
+	init_waitqueue_head (&dev.interrupt_sleeper);
 
 	if (wavefront_hw_reset ()) {
 		printk (KERN_WARNING LOGNAME "hardware reset failed\n");

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