patch-2.3.3 linux/drivers/char/planb.c

Next file: linux/drivers/char/planb.h
Previous file: linux/drivers/char/pcxx.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.2/linux/drivers/char/planb.c linux/drivers/char/planb.c
@@ -379,7 +379,7 @@
 
 static void __planb_wait(struct planb *pb)
 {
-	struct wait_queue wait = { current, NULL };
+	DECLARE_WAITQUEUE(wait, current);
 
 	add_wait_queue(&pb->lockq, &wait);
 repeat:

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