patch-2.1.31 linux/drivers/sbus/char/sunmouse.c
Next file: linux/drivers/scsi/BusLogic.c
Previous file: linux/drivers/sbus/char/sunkbd.c
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Wed Apr 2 17:43:21 1997
- Orig file:
v2.1.30/linux/drivers/sbus/char/sunmouse.c
- Orig date:
Mon Mar 17 14:54:28 1997
diff -u --recursive --new-file v2.1.30/linux/drivers/sbus/char/sunmouse.c linux/drivers/sbus/char/sunmouse.c
@@ -337,13 +337,14 @@
return 0;
}
-static void
+static int
sun_mouse_close(struct inode *inode, struct file *file)
{
sun_mouse_fasync (inode, file, 0);
if (--sunmouse.active)
- return;
+ return 0;
sunmouse.ready = 0;
+ return 0;
}
static long
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov