diff options
author | Jan Engelhardt <jengelh@computergmbh.de> | 2008-01-31 00:43:32 -0500 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2008-01-31 00:43:32 -0500 |
commit | cec69c376be132a6afdc55b8090a389eaa3cd770 (patch) | |
tree | ca4ae043dd0b8cec803bd06b8286d3111e1d5c1f /drivers/input | |
parent | 3f79b1e94002791a42837a46b5817e87a0ac0873 (diff) |
Input: constify function pointer tables (seq_operations)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c index 6ee8af8963f..f02c242c311 100644 --- a/drivers/input/input.c +++ b/drivers/input/input.c | |||
@@ -821,7 +821,7 @@ static int input_devices_seq_show(struct seq_file *seq, void *v) | |||
821 | return 0; | 821 | return 0; |
822 | } | 822 | } |
823 | 823 | ||
824 | static struct seq_operations input_devices_seq_ops = { | 824 | static const struct seq_operations input_devices_seq_ops = { |
825 | .start = input_devices_seq_start, | 825 | .start = input_devices_seq_start, |
826 | .next = input_devices_seq_next, | 826 | .next = input_devices_seq_next, |
827 | .stop = input_devices_seq_stop, | 827 | .stop = input_devices_seq_stop, |
@@ -874,7 +874,7 @@ static int input_handlers_seq_show(struct seq_file *seq, void *v) | |||
874 | 874 | ||
875 | return 0; | 875 | return 0; |
876 | } | 876 | } |
877 | static struct seq_operations input_handlers_seq_ops = { | 877 | static const struct seq_operations input_handlers_seq_ops = { |
878 | .start = input_handlers_seq_start, | 878 | .start = input_handlers_seq_start, |
879 | .next = input_handlers_seq_next, | 879 | .next = input_handlers_seq_next, |
880 | .stop = input_handlers_seq_stop, | 880 | .stop = input_handlers_seq_stop, |