summaryrefslogtreecommitdiffstats
path: root/net/wanrouter
diff options
context:
space:
mode:
authorPhilippe De Muyter2007-07-11 08:07:31 +0200
committerDavid S. Miller2007-07-11 08:07:31 +0200
commit56b3d975bbce65f655c5612b4822da671f9fd9b2 (patch)
tree7e29d70405d9c8e28ddee3b03a07157477fc780f /net/wanrouter
parent[UDP]: Fix length check. (diff)
downloadkernel-qcow2-linux-56b3d975bbce65f655c5612b4822da671f9fd9b2.tar.gz
kernel-qcow2-linux-56b3d975bbce65f655c5612b4822da671f9fd9b2.tar.xz
kernel-qcow2-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/wanrouter')
-rw-r--r--net/wanrouter/wanproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/wanrouter/wanproc.c b/net/wanrouter/wanproc.c
index 205106521ecb..236e7eaf1b7f 100644
--- a/net/wanrouter/wanproc.c
+++ b/net/wanrouter/wanproc.c
@@ -164,14 +164,14 @@ static int status_show(struct seq_file *m, void *v)
return 0;
}
-static struct seq_operations config_op = {
+static const struct seq_operations config_op = {
.start = r_start,
.next = r_next,
.stop = r_stop,
.show = config_show,
};
-static struct seq_operations status_op = {
+static const struct seq_operations status_op = {
.start = r_start,
.next = r_next,
.stop = r_stop,