summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-01-31 06:43:32 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-01-31 06:43:32 +0100
commitcec69c376be132a6afdc55b8090a389eaa3cd770 (patch)
treeca4ae043dd0b8cec803bd06b8286d3111e1d5c1f /drivers
parentInput: i8042 - add Fujitsu-Siemens Amilo Pro 2010 to nomux list (diff)
downloadlinux-cec69c376be132a6afdc55b8090a389eaa3cd770.tar.xz
linux-cec69c376be132a6afdc55b8090a389eaa3cd770.zip
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')
-rw-r--r--drivers/input/input.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/input.c b/drivers/input/input.c
index 6ee8af8963f9..f02c242c3114 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)
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,
@@ -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,