diff options
| author | Stephen Hemminger <shemminger@vyatta.com> | 2009-09-01 15:25:02 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2009-09-02 04:03:39 -0400 |
| commit | 98147d527a038c4aab599e57323a4e5d727c28a6 (patch) | |
| tree | 0a9b012258f5f05d1308adc282741d32aa0958f0 | |
| parent | 0fc0b732eaa38beb93a6fb62f77c7bd9622c76ec (diff) | |
net: seq_operations should be const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | net/ipv6/ip6mr.c | 2 | ||||
| -rw-r--r-- | net/key/af_key.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 19c8dec2ead9..d2df837892d2 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c | |||
| @@ -204,7 +204,7 @@ static int ip6mr_vif_seq_show(struct seq_file *seq, void *v) | |||
| 204 | return 0; | 204 | return 0; |
| 205 | } | 205 | } |
| 206 | 206 | ||
| 207 | static struct seq_operations ip6mr_vif_seq_ops = { | 207 | static const struct seq_operations ip6mr_vif_seq_ops = { |
| 208 | .start = ip6mr_vif_seq_start, | 208 | .start = ip6mr_vif_seq_start, |
| 209 | .next = ip6mr_vif_seq_next, | 209 | .next = ip6mr_vif_seq_next, |
| 210 | .stop = ip6mr_vif_seq_stop, | 210 | .stop = ip6mr_vif_seq_stop, |
diff --git a/net/key/af_key.c b/net/key/af_key.c index dba9abd27f90..7b1e99b5b4d2 100644 --- a/net/key/af_key.c +++ b/net/key/af_key.c | |||
| @@ -3705,7 +3705,7 @@ static void pfkey_seq_stop(struct seq_file *f, void *v) | |||
| 3705 | read_unlock(&pfkey_table_lock); | 3705 | read_unlock(&pfkey_table_lock); |
| 3706 | } | 3706 | } |
| 3707 | 3707 | ||
| 3708 | static struct seq_operations pfkey_seq_ops = { | 3708 | static const struct seq_operations pfkey_seq_ops = { |
| 3709 | .start = pfkey_seq_start, | 3709 | .start = pfkey_seq_start, |
| 3710 | .next = pfkey_seq_next, | 3710 | .next = pfkey_seq_next, |
| 3711 | .stop = pfkey_seq_stop, | 3711 | .stop = pfkey_seq_stop, |
