diff options
Diffstat (limited to 'drivers/char/atixlmouse.c')
-rw-r--r-- | drivers/char/atixlmouse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/char/atixlmouse.c b/drivers/char/atixlmouse.c index 52ce4bf67..69fcbf004 100644 --- a/drivers/char/atixlmouse.c +++ b/drivers/char/atixlmouse.c @@ -67,7 +67,7 @@ static struct mouse_status { int present; int ready; int active; - struct wait_queue *wait; + wait_queue_head_t wait; struct fasync_struct *fasync; } mouse; @@ -223,7 +223,7 @@ __initfunc(int atixl_busmouse_init(void)) mouse.ready = 0; mouse.buttons = mouse.latch_buttons = 0; mouse.dx = mouse.dy = 0; - mouse.wait = NULL; + init_waitqueue_head(&mouse.wait); printk("Bus mouse detected and installed.\n"); misc_register(&atixl_mouse); return 0; |