projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f79b1e
)
Input: constify function pointer tables (seq_operations)
author
Jan Engelhardt
<jengelh@computergmbh.de>
Thu, 31 Jan 2008 05:43:32 +0000
(
00:43
-0500)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Thu, 31 Jan 2008 05:43:32 +0000
(
00:43
-0500)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c
patch
|
blob
|
history
diff --git
a/drivers/input/input.c
b/drivers/input/input.c
index
6ee8af8
..
f02c242
100644
(file)
--- 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,