patch-2.3.1 linux/drivers/char/msbusmouse.c

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

diff -u --recursive --new-file v2.3.0/linux/drivers/char/msbusmouse.c linux/drivers/char/msbusmouse.c
@@ -195,7 +195,7 @@
 	mouse.present = mouse.active = mouse.ready = 0;
 	mouse.buttons = 0x80;
 	mouse.dx = mouse.dy = 0;
-	mouse.wait = NULL;
+	init_waitqueue_head(&mouse.wait);
 
 	if (check_region(MS_MSE_CONTROL_PORT, 0x04))
 		return -ENODEV;

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