patch-2.1.31 linux/drivers/char/softdog.c
Next file: linux/drivers/char/tga.c
Previous file: linux/drivers/char/serial.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/char/softdog.c
- Orig date:
Thu Mar 27 14:40:03 1997
diff -u --recursive --new-file v2.1.30/linux/drivers/char/softdog.c linux/drivers/char/softdog.c
@@ -83,7 +83,7 @@
return 0;
}
-static void softdog_release(struct inode *inode, struct file *file)
+static int softdog_release(struct inode *inode, struct file *file)
{
/*
* Shut off the timer.
@@ -94,6 +94,7 @@
MOD_DEC_USE_COUNT;
#endif
timer_alive=0;
+ return 0;
}
static void softdog_ping(void)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov