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

Next file: linux/drivers/sound/dmasound.c
Previous file: linux/drivers/scsi/st.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/drivers/sound/dev_table.c linux/drivers/sound/dev_table.c
@@ -435,9 +435,9 @@
 		return -(ENOMEM);
 	}
 	memset((char *) op, 0, sizeof(struct audio_operations));
-	init_waitqueue(&op->in_sleeper);
-	init_waitqueue(&op->out_sleeper);	
-	init_waitqueue(&op->poll_sleeper);
+	init_waitqueue_head(&op->in_sleeper);
+	init_waitqueue_head(&op->out_sleeper);	
+	init_waitqueue_head(&op->poll_sleeper);
 	if (driver_size < sizeof(struct audio_driver))
 		memset((char *) d, 0, sizeof(struct audio_driver));
 

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