]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/char_dev.c
[PATCH] Make most file operations structs in fs/ const
[mirror_ubuntu-artful-kernel.git] / fs / char_dev.c
index b53dffa46baccc479610503e108e7349f68c7c78..4e1b849f912f740d6d120fe02abab1a347f53035 100644 (file)
@@ -406,7 +406,7 @@ static void cdev_purge(struct cdev *cdev)
  * is contain the open that then fills in the correct operations
  * depending on the special file...
  */
-struct file_operations def_chr_fops = {
+const struct file_operations def_chr_fops = {
        .open = chrdev_open,
 };