summaryrefslogtreecommitdiffstats
path: root/drivers/char/msbusmouse.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/msbusmouse.c')
-rw-r--r--drivers/char/msbusmouse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/msbusmouse.c b/drivers/char/msbusmouse.c
index 07c733b5b..f580be0bb 100644
--- a/drivers/char/msbusmouse.c
+++ b/drivers/char/msbusmouse.c
@@ -195,7 +195,7 @@ __initfunc(int ms_bus_mouse_init(void))
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;