]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipv6/mcast.c
[PATCH] mark struct file_operations const 7
[net-next-2.6.git] / net / ipv6 / mcast.c
index c9db5bc5b0f9dcbb66310d5325fd8cc45ac57459..a8d6625ec7822aa7cd4fb8951e1e2d3b251b0689 100644 (file)
@@ -2451,7 +2451,7 @@ out_kfree:
        goto out;
 }
 
-static struct file_operations igmp6_mc_seq_fops = {
+static const struct file_operations igmp6_mc_seq_fops = {
        .owner          =       THIS_MODULE,
        .open           =       igmp6_mc_seq_open,
        .read           =       seq_read,
@@ -2625,7 +2625,7 @@ out_kfree:
        goto out;
 }
 
-static struct file_operations igmp6_mcf_seq_fops = {
+static const struct file_operations igmp6_mcf_seq_fops = {
        .owner          =       THIS_MODULE,
        .open           =       igmp6_mcf_seq_open,
        .read           =       seq_read,