mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[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:
parent
3be550f34b
commit
56b3d975bb
56 changed files with 76 additions and 76 deletions
|
|
@ -234,21 +234,21 @@ out:
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct seq_operations x25_seq_route_ops = {
|
||||
static const struct seq_operations x25_seq_route_ops = {
|
||||
.start = x25_seq_route_start,
|
||||
.next = x25_seq_route_next,
|
||||
.stop = x25_seq_route_stop,
|
||||
.show = x25_seq_route_show,
|
||||
};
|
||||
|
||||
static struct seq_operations x25_seq_socket_ops = {
|
||||
static const struct seq_operations x25_seq_socket_ops = {
|
||||
.start = x25_seq_socket_start,
|
||||
.next = x25_seq_socket_next,
|
||||
.stop = x25_seq_socket_stop,
|
||||
.show = x25_seq_socket_show,
|
||||
};
|
||||
|
||||
static struct seq_operations x25_seq_forward_ops = {
|
||||
static const struct seq_operations x25_seq_forward_ops = {
|
||||
.start = x25_seq_forward_start,
|
||||
.next = x25_seq_forward_next,
|
||||
.stop = x25_seq_forward_stop,
|
||||
|
|
|
|||
Loading…
Reference in a new issue