Skip to content

Commit

Permalink
Input: constify function pointer tables (seq_operations)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
  • Loading branch information
Jan Engelhardt authored and Dmitry Torokhov committed Jan 31, 2008
1 parent 3f79b1e commit cec69c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ static int input_devices_seq_show(struct seq_file *seq, void *v)
return 0;
}

static struct seq_operations input_devices_seq_ops = {
static const struct seq_operations input_devices_seq_ops = {
.start = input_devices_seq_start,
.next = input_devices_seq_next,
.stop = input_devices_seq_stop,
Expand Down Expand Up @@ -874,7 +874,7 @@ static int input_handlers_seq_show(struct seq_file *seq, void *v)

return 0;
}
static struct seq_operations input_handlers_seq_ops = {
static const struct seq_operations input_handlers_seq_ops = {
.start = input_handlers_seq_start,
.next = input_handlers_seq_next,
.stop = input_handlers_seq_stop,
Expand Down

0 comments on commit cec69c3

Please sign in to comment.