diff options
author | Philippe De Muyter <phdm@macqel.be> | 2007-07-11 08:07:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-11 08:07:31 +0200 |
commit | 56b3d975bbce65f655c5612b4822da671f9fd9b2 (patch) | |
tree | 7e29d70405d9c8e28ddee3b03a07157477fc780f /net/decnet/dn_neigh.c | |
parent | [UDP]: Fix length check. (diff) | |
download | linux-56b3d975bbce65f655c5612b4822da671f9fd9b2.tar.xz linux-56b3d975bbce65f655c5612b4822da671f9fd9b2.zip |
[NET]: Make all initialized struct seq_operations const.
Make all initialized struct seq_operations in net/ const
Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet/dn_neigh.c')
-rw-r--r-- | net/decnet/dn_neigh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/decnet/dn_neigh.c b/net/decnet/dn_neigh.c index 4bf066c416e2..174d8a7a6dac 100644 --- a/net/decnet/dn_neigh.c +++ b/net/decnet/dn_neigh.c @@ -569,7 +569,7 @@ static void *dn_neigh_seq_start(struct seq_file *seq, loff_t *pos) NEIGH_SEQ_NEIGH_ONLY); } -static struct seq_operations dn_neigh_seq_ops = { +static const struct seq_operations dn_neigh_seq_ops = { .start = dn_neigh_seq_start, .next = neigh_seq_next, .stop = neigh_seq_stop, |