[NET]: Make all initialized struct seq_operations const.

Make all initialized struct seq_operations in net/ const

Signed-off-by: Philippe De Muyter <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Philippe De Muyter 2007-07-10 23:07:31 -07:00 • committed by David S. Miller
commit 56b3d975bb
56 changed files with 76 additions and 76 deletions

View file

@ -1924,7 +1924,7 @@ static int ax25_info_show(struct seq_file *seq, void *v)
return 0;
}
static struct seq_operations ax25_info_seqops = {
static const struct seq_operations ax25_info_seqops = {
.start = ax25_info_start,
.next = ax25_info_next,
.stop = ax25_info_stop,

View file

@ -320,7 +320,7 @@ static int ax25_rt_seq_show(struct seq_file *seq, void *v)
return 0;
}
static struct seq_operations ax25_rt_seqops = {
static const struct seq_operations ax25_rt_seqops = {
.start = ax25_rt_seq_start,
.next = ax25_rt_seq_next,
.stop = ax25_rt_seq_stop,

View file

@ -185,7 +185,7 @@ static int ax25_uid_seq_show(struct seq_file *seq, void *v)
return 0;
}
static struct seq_operations ax25_uid_seqops = {
static const struct seq_operations ax25_uid_seqops = {
.start = ax25_uid_seq_start,
.next = ax25_uid_seq_next,
.stop = ax25_uid_seq_stop,