diff options
Diffstat (limited to 'drivers/char/generic_nvram.c')
-rw-r--r-- | drivers/char/generic_nvram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/generic_nvram.c b/drivers/char/generic_nvram.c index 43ff59816511..2398e864c28d 100644 --- a/drivers/char/generic_nvram.c +++ b/drivers/char/generic_nvram.c | |||
@@ -117,7 +117,7 @@ static int nvram_ioctl(struct inode *inode, struct file *file, | |||
117 | return 0; | 117 | return 0; |
118 | } | 118 | } |
119 | 119 | ||
120 | struct file_operations nvram_fops = { | 120 | const struct file_operations nvram_fops = { |
121 | .owner = THIS_MODULE, | 121 | .owner = THIS_MODULE, |
122 | .llseek = nvram_llseek, | 122 | .llseek = nvram_llseek, |
123 | .read = read_nvram, | 123 | .read = read_nvram, |