patch-2.1.89 linux/drivers/char/pc110pad.c

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

diff -u --recursive --new-file v2.1.88/linux/drivers/char/pc110pad.c linux/drivers/char/pc110pad.c
@@ -575,7 +575,7 @@
 
 static unsigned int pad_poll(struct file *file, poll_table * wait)
 {
-	poll_wait(&queue, wait);
+	poll_wait(file, &queue, wait);
     	if(button_pending || xy_pending)
 		return POLLIN | POLLRDNORM;
 	return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov