aboutsummaryrefslogtreecommitdiffstats
path: root/arch/i386/kernel/cpu/mtrr/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/i386/kernel/cpu/mtrr/if.c')
-rw-r--r--arch/i386/kernel/cpu/mtrr/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/cpu/mtrr/if.c b/arch/i386/kernel/cpu/mtrr/if.c
index 5ae1705eafa6..ee771f305f96 100644
--- a/arch/i386/kernel/cpu/mtrr/if.c
+++ b/arch/i386/kernel/cpu/mtrr/if.c
@@ -339,7 +339,7 @@ static int mtrr_open(struct inode *inode, struct file *file)
339 return single_open(file, mtrr_seq_show, NULL); 339 return single_open(file, mtrr_seq_show, NULL);
340} 340}
341 341
342static struct file_operations mtrr_fops = { 342static const struct file_operations mtrr_fops = {
343 .owner = THIS_MODULE, 343 .owner = THIS_MODULE,
344 .open = mtrr_open, 344 .open = mtrr_open,
345 .read = seq_read, 345 .read = seq_read,