aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-09-14 02:53:55 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-09-14 03:22:56 -0400
commitceee42714cf382e9bb9ab71b846ad49497b29d6c (patch)
treeb51c0b73a78fcd6e42aae5b1f6c90ee697fca52d
parent53957b56d765f4602715fefb1c553f7a538b3230 (diff)
Input: serio_driver - mark id_table and description as const
Memory pointed to by these fields is not supposed to change. Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r--include/linux/serio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/serio.h b/include/linux/serio.h
index b5552568178d..a31c95a3171e 100644
--- a/include/linux/serio.h
+++ b/include/linux/serio.h
@@ -55,9 +55,9 @@ struct serio {
55 55
56struct serio_driver { 56struct serio_driver {
57 void *private; 57 void *private;
58 char *description; 58 const char *description;
59 59
60 struct serio_device_id *id_table; 60 const struct serio_device_id *id_table;
61 bool manual_bind; 61 bool manual_bind;
62 62
63 void (*write_wakeup)(struct serio *); 63 void (*write_wakeup)(struct serio *);