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

Next file: linux/drivers/char/h8.c
Previous file: linux/drivers/char/cyclades.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.2/linux/drivers/char/dn_keyb.c linux/drivers/char/dn_keyb.c
@@ -47,7 +47,7 @@
 static unsigned int kbd_mode=APOLLO_KBD_MODE_KEYB;
 static short mouse_dx,mouse_dy,mouse_buttons;
 static int mouse_ready=0,mouse_update_allowed=0,mouse_active=0;
-static struct wait_queue *mouse_wait=NULL;
+static DECLARE_WAIT_QUEUE_HEAD(mouse_wait);
 static struct fasync_struct *mouse_fasyncptr=NULL;
 
 #if 0

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