[PATCH] mark struct file_operations const 7
[linux-block.git] / net / ipv4 / igmp.c
index b8e1625d34cfe2de876c99b095679d1956c9191f..063721302ebf24faef796999f3aea0728950c116 100644 (file)
@@ -2403,7 +2403,7 @@ out_kfree:
        goto out;
 }
 
-static struct file_operations igmp_mc_seq_fops = {
+static const struct file_operations igmp_mc_seq_fops = {
        .owner          =       THIS_MODULE,
        .open           =       igmp_mc_seq_open,
        .read           =       seq_read,
@@ -2577,7 +2577,7 @@ out_kfree:
        goto out;
 }
 
-static struct file_operations igmp_mcf_seq_fops = {
+static const struct file_operations igmp_mcf_seq_fops = {
        .owner          =       THIS_MODULE,
        .open           =       igmp_mcf_seq_open,
        .read           =       seq_read,