summaryrefslogtreecommitdiffstats
path: root/drivers/char/nvram.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-06-19 22:45:37 +0000
commit6d403070f28cd44860fdb3a53be5da0275c65cf4 (patch)
tree0d0e7fe7b5fb7568d19e11d7d862b77a866ce081 /drivers/char/nvram.c
parentecf1bf5f6c2e668d03b0a9fb026db7aa41e292e1 (diff)
Merge with 2.4.0-test1-ac21 + pile of MIPS cleanups to make merging
possible. Chainsawed RM200 kernel to compile again. Jazz machine status unknown.
Diffstat (limited to 'drivers/char/nvram.c')
-rw-r--r--drivers/char/nvram.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/char/nvram.c b/drivers/char/nvram.c
index c5be675c7..42063cefa 100644
--- a/drivers/char/nvram.c
+++ b/drivers/char/nvram.c
@@ -332,7 +332,6 @@ static int nvram_open( struct inode *inode, struct file *file )
if (file->f_mode & 2)
nvram_open_mode |= NVRAM_WRITE;
nvram_open_cnt++;
- MOD_INC_USE_COUNT;
return( 0 );
}
@@ -344,7 +343,6 @@ static int nvram_release( struct inode *inode, struct file *file )
if (file->f_mode & 2)
nvram_open_mode &= ~NVRAM_WRITE;
- MOD_DEC_USE_COUNT;
return( 0 );
}
@@ -393,6 +391,7 @@ static int nvram_read_proc( char *buffer, char **start, off_t offset,
#endif /* CONFIG_PROC_FS */
static struct file_operations nvram_fops = {
+ owner: THIS_MODULE,
llseek: nvram_llseek,
read: nvram_read,
write: nvram_write,