patch-2.3.1 linux/net/irda/af_irda.c

Next file: linux/net/irda/ircomm/irvtd_driver.c
Previous file: linux/net/ipv4/tcp_ipv4.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.0/linux/net/irda/af_irda.c linux/net/irda/af_irda.c
@@ -48,7 +48,7 @@
 
 static struct proto_ops irda_proto_ops;
 static hashbin_t *cachelog = NULL;
-static struct wait_queue *discovery_wait; /* Wait for discovery */
+static DECLARE_WAIT_QUEUE_HEAD(discovery_wait); /* Wait for discovery */
 
 #define IRDA_MAX_HEADER (TTP_HEADER+LMP_HEADER+LAP_HEADER)
 

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