patch-2.4.0-test2 linux/drivers/char/nvram.c
Next file: linux/drivers/char/nwbutton.c
Previous file: linux/drivers/char/n_tty.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/nvram.c
- Orig date:
Wed Apr 26 16:34:07 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/char/nvram.c linux/drivers/char/nvram.c
@@ -332,7 +332,6 @@
if (file->f_mode & 2)
nvram_open_mode |= NVRAM_WRITE;
nvram_open_cnt++;
- MOD_INC_USE_COUNT;
return( 0 );
}
@@ -344,7 +343,6 @@
if (file->f_mode & 2)
nvram_open_mode &= ~NVRAM_WRITE;
- MOD_DEC_USE_COUNT;
return( 0 );
}
@@ -393,6 +391,7 @@
#endif /* CONFIG_PROC_FS */
static struct file_operations nvram_fops = {
+ owner: THIS_MODULE,
llseek: nvram_llseek,
read: nvram_read,
write: nvram_write,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)