mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -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
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue