]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/irda/discovery.c
[PATCH] mark struct file_operations const 7
[mirror_ubuntu-bionic-kernel.git] / net / irda / discovery.c
index 789478bc3009ad9743861420be835621473c4151..f097341286740182d5726ebb2bb5e0c43fcf8e2a 100644 (file)
@@ -409,7 +409,7 @@ static int discovery_seq_open(struct inode *inode, struct file *file)
        return seq_open(file, &discovery_seq_ops);
 }
 
-struct file_operations discovery_seq_fops = {
+const struct file_operations discovery_seq_fops = {
        .owner          = THIS_MODULE,
        .open           = discovery_seq_open,
        .read           = seq_read,