net: seq_operations should be const
authorStephen Hemminger <shemminger@vyatta.com>
Tue, 1 Sep 2009 19:25:02 +0000 (19:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Sep 2009 08:03:39 +0000 (01:03 -0700)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6mr.c
net/key/af_key.c

index 19c8dec2ead9c425ad0b86f66cfbb9cf5768f912..d2df837892d259d880ccc35af07507e3a3f385aa 100644 (file)
@@ -204,7 +204,7 @@ static int ip6mr_vif_seq_show(struct seq_file *seq, void *v)
        return 0;
 }
 
-static struct seq_operations ip6mr_vif_seq_ops = {
+static const struct seq_operations ip6mr_vif_seq_ops = {
        .start = ip6mr_vif_seq_start,
        .next  = ip6mr_vif_seq_next,
        .stop  = ip6mr_vif_seq_stop,
index dba9abd27f90d42cb240c08d6a08e7529a5e6797..7b1e99b5b4d27eee3863be4ec0e889f315b0ac62 100644 (file)
@@ -3705,7 +3705,7 @@ static void pfkey_seq_stop(struct seq_file *f, void *v)
        read_unlock(&pfkey_table_lock);
 }
 
-static struct seq_operations pfkey_seq_ops = {
+static const struct seq_operations pfkey_seq_ops = {
        .start  = pfkey_seq_start,
        .next   = pfkey_seq_next,
        .stop   = pfkey_seq_stop,