patch-2.1.117 linux/drivers/char/pc110pad.c
Next file: linux/drivers/char/psaux.c
Previous file: linux/drivers/char/msp3400.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Wed Aug 19 13:24:43 1998
- Orig file:
v2.1.116/linux/drivers/char/pc110pad.c
- Orig date:
Tue Mar 10 10:03:31 1998
diff -u --recursive --new-file v2.1.116/linux/drivers/char/pc110pad.c linux/drivers/char/pc110pad.c
@@ -474,11 +474,11 @@
-static int fasync_pad(struct file *filp, int on)
+static int fasync_pad(int fd, struct file *filp, int on)
{
int retval;
- retval = fasync_helper(filp, on, &asyncptr);
+ retval = fasync_helper(fd, filp, on, &asyncptr);
if (retval < 0)
return retval;
return 0;
@@ -490,7 +490,7 @@
*/
static int close_pad(struct inode * inode, struct file * file)
{
- fasync_pad(file, 0);
+ fasync_pad(-1, file, 0);
if (--active)
return 0;
outb(0x30, current_params.io+2); /* switch off digitiser */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov