patch-2.1.31 linux/drivers/sbus/char/rtc.c
Next file: linux/drivers/sbus/char/sunfb.c
Previous file: linux/drivers/sbus/char/openprom.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Wed Apr 2 17:43:21 1997
- Orig file:
v2.1.30/linux/drivers/sbus/char/rtc.c
- Orig date:
Sun Jan 26 02:07:18 1997
diff -u --recursive --new-file v2.1.30/linux/drivers/sbus/char/rtc.c linux/drivers/sbus/char/rtc.c
@@ -118,10 +118,11 @@
return 0;
}
-static void rtc_release(struct inode *inode, struct file *file)
+static int rtc_release(struct inode *inode, struct file *file)
{
MOD_DEC_USE_COUNT;
rtc_busy = 0;
+ return 0;
}
static struct file_operations rtc_fops = {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov