[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>
This commit is contained in:
committed by
David S. Miller
parent
3be550f34b
commit
56b3d975bb
@@ -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,
|
||||
|
Reference in New Issue
Block a user