]> err.no Git - linux-2.6/blobdiff - net/ipv6/udplite.c
[NETFILTER]: annotate {arp,ip,ip6,x}tables with const
[linux-2.6] / net / ipv6 / udplite.c
index c5f5357d115d9621970e152679c42d07f28af544..491efd00a86671af20bf607b85f63869b11881ac 100644 (file)
@@ -96,14 +96,16 @@ void udplitev6_exit(void)
 }
 
 #ifdef CONFIG_PROC_FS
-static struct file_operations udplite6_seq_fops;
 static struct udp_seq_afinfo udplite6_seq_afinfo = {
-       .owner          = THIS_MODULE,
        .name           = "udplite6",
        .family         = AF_INET6,
        .hashtable      = udplite_hash,
-       .seq_show       = udp6_seq_show,
-       .seq_fops       = &udplite6_seq_fops,
+       .seq_fops       = {
+               .owner  =       THIS_MODULE,
+       },
+       .seq_ops        = {
+               .show           = udp6_seq_show,
+       },
 };
 
 static int udplite6_proc_init_net(struct net *net)