summaryrefslogtreecommitdiff
path: root/net/llc
diff options
context:
space:
mode:
authorPhilippe De Muyter <phdm@macqel.be>2007-07-10 23:07:31 -0700
committerDavid S. Miller <davem@davemloft.net>2007-07-10 23:07:31 -0700
commit56b3d975bbce65f655c5612b4822da671f9fd9b2 (patch)
tree7e29d70405d9c8e28ddee3b03a07157477fc780f /net/llc
parent3be550f34b03e5eb762f74d447ebbeba97efbd6d (diff)
downloadlinux-3.10-56b3d975bbce65f655c5612b4822da671f9fd9b2.tar.gz
linux-3.10-56b3d975bbce65f655c5612b4822da671f9fd9b2.tar.bz2
linux-3.10-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/llc')
-rw-r--r--net/llc/llc_proc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/llc/llc_proc.c b/net/llc/llc_proc.c
index 3ab9d9f8b17..49be6c902c8 100644
--- a/net/llc/llc_proc.c
+++ b/net/llc/llc_proc.c
@@ -184,14 +184,14 @@ out:
return 0;
}
-static struct seq_operations llc_seq_socket_ops = {
+static const struct seq_operations llc_seq_socket_ops = {
.start = llc_seq_start,
.next = llc_seq_next,
.stop = llc_seq_stop,
.show = llc_seq_socket_show,
};
-static struct seq_operations llc_seq_core_ops = {
+static const struct seq_operations llc_seq_core_ops = {
.start = llc_seq_start,
.next = llc_seq_next,
.stop = llc_seq_stop,