diff options
author | Philippe De Muyter <phdm@macqel.be> | 2007-07-11 02:07:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-07-11 02:07:31 -0400 |
commit | 56b3d975bbce65f655c5612b4822da671f9fd9b2 (patch) | |
tree | 7e29d70405d9c8e28ddee3b03a07157477fc780f /net/atm/proc.c | |
parent | 3be550f34b03e5eb762f74d447ebbeba97efbd6d (diff) |
[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/atm/proc.c')
-rw-r--r-- | net/atm/proc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/net/atm/proc.c b/net/atm/proc.c index 9e61e512f667..88154da62cd3 100644 --- a/net/atm/proc.c +++ b/net/atm/proc.c | |||
@@ -260,7 +260,7 @@ static int atm_dev_seq_show(struct seq_file *seq, void *v) | |||
260 | return 0; | 260 | return 0; |
261 | } | 261 | } |
262 | 262 | ||
263 | static struct seq_operations atm_dev_seq_ops = { | 263 | static const struct seq_operations atm_dev_seq_ops = { |
264 | .start = atm_dev_seq_start, | 264 | .start = atm_dev_seq_start, |
265 | .next = atm_dev_seq_next, | 265 | .next = atm_dev_seq_next, |
266 | .stop = atm_dev_seq_stop, | 266 | .stop = atm_dev_seq_stop, |
@@ -295,7 +295,7 @@ static int pvc_seq_show(struct seq_file *seq, void *v) | |||
295 | return 0; | 295 | return 0; |
296 | } | 296 | } |
297 | 297 | ||
298 | static struct seq_operations pvc_seq_ops = { | 298 | static const struct seq_operations pvc_seq_ops = { |
299 | .start = vcc_seq_start, | 299 | .start = vcc_seq_start, |
300 | .next = vcc_seq_next, | 300 | .next = vcc_seq_next, |
301 | .stop = vcc_seq_stop, | 301 | .stop = vcc_seq_stop, |
@@ -329,7 +329,7 @@ static int vcc_seq_show(struct seq_file *seq, void *v) | |||
329 | return 0; | 329 | return 0; |
330 | } | 330 | } |
331 | 331 | ||
332 | static struct seq_operations vcc_seq_ops = { | 332 | static const struct seq_operations vcc_seq_ops = { |
333 | .start = vcc_seq_start, | 333 | .start = vcc_seq_start, |
334 | .next = vcc_seq_next, | 334 | .next = vcc_seq_next, |
335 | .stop = vcc_seq_stop, | 335 | .stop = vcc_seq_stop, |
@@ -364,7 +364,7 @@ static int svc_seq_show(struct seq_file *seq, void *v) | |||
364 | return 0; | 364 | return 0; |
365 | } | 365 | } |
366 | 366 | ||
367 | static struct seq_operations svc_seq_ops = { | 367 | static const struct seq_operations svc_seq_ops = { |
368 | .start = vcc_seq_start, | 368 | .start = vcc_seq_start, |
369 | .next = vcc_seq_next, | 369 | .next = vcc_seq_next, |
370 | .stop = vcc_seq_stop, | 370 | .stop = vcc_seq_stop, |