patch-2.4.0-test2 linux/drivers/char/pcwd.c
Next file: linux/drivers/char/ppdev.c
Previous file: linux/drivers/char/pcmcia/serial_cb.c
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Tue Jun 20 07:37:58 2000
- Orig file:
v2.4.0-test1/linux/drivers/char/pcwd.c
- Orig date:
Tue Apr 11 15:09:17 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/char/pcwd.c linux/drivers/char/pcwd.c
@@ -414,7 +414,6 @@
is_open = 1;
return(0);
case TEMP_MINOR:
- MOD_INC_USE_COUNT;
return(0);
default:
return (-ENODEV);
@@ -450,7 +449,6 @@
static int pcwd_close(struct inode *ino, struct file *filep)
{
- MOD_DEC_USE_COUNT;
if (MINOR(ino->i_rdev)==WATCHDOG_MINOR)
{
is_open = 0;
@@ -543,6 +541,7 @@
}
static struct file_operations pcwd_fops = {
+ owner: THIS_MODULE,
read: pcwd_read,
write: pcwd_write,
ioctl: pcwd_ioctl,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)