patch-2.3.3 linux/drivers/sound/lowlevel/awe_wave.c

Next file: linux/drivers/sound/msnd.h
Previous file: linux/drivers/sound/lowlevel/awe_compat.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.2/linux/drivers/sound/lowlevel/awe_wave.c linux/drivers/sound/lowlevel/awe_wave.c
@@ -979,7 +979,7 @@
 }
 #else
 
-static struct wait_queue *awe_sleeper = NULL;
+static DECLARE_WAIT_QUEUE_HEAD(awe_sleeper);
 static void awe_wait(unsigned short delay)
 {
 	interruptible_sleep_on_timeout(&awe_sleeper, (HZ * (unsigned long)delay + 44099) / 44100);

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