]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/i386/kernel/msr.c
[PATCH] mark struct file_operations const 2
[mirror_ubuntu-artful-kernel.git] / arch / i386 / kernel / msr.c
index 4a472a17d1c684f07c39054478599c14aeff6ab9..4e14264f392a93678ad9a0ef906f6d3a4def45bd 100644 (file)
@@ -230,7 +230,7 @@ static int msr_open(struct inode *inode, struct file *file)
 /*
  * File operations we support
  */
-static struct file_operations msr_fops = {
+static const struct file_operations msr_fops = {
        .owner = THIS_MODULE,
        .llseek = msr_seek,
        .read = msr_read,