Commit cec69c37 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Dmitry Torokhov

Input: constify function pointer tables (seq_operations)

Signed-off-by: default avatarJan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 3f79b1e9
...@@ -821,7 +821,7 @@ static int input_devices_seq_show(struct seq_file *seq, void *v) ...@@ -821,7 +821,7 @@ static int input_devices_seq_show(struct seq_file *seq, void *v)
return 0; return 0;
} }
static struct seq_operations input_devices_seq_ops = { static const struct seq_operations input_devices_seq_ops = {
.start = input_devices_seq_start, .start = input_devices_seq_start,
.next = input_devices_seq_next, .next = input_devices_seq_next,
.stop = input_devices_seq_stop, .stop = input_devices_seq_stop,
...@@ -874,7 +874,7 @@ static int input_handlers_seq_show(struct seq_file *seq, void *v) ...@@ -874,7 +874,7 @@ static int input_handlers_seq_show(struct seq_file *seq, void *v)
return 0; return 0;
} }
static struct seq_operations input_handlers_seq_ops = { static const struct seq_operations input_handlers_seq_ops = {
.start = input_handlers_seq_start, .start = input_handlers_seq_start,
.next = input_handlers_seq_next, .next = input_handlers_seq_next,
.stop = input_handlers_seq_stop, .stop = input_handlers_seq_stop,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment