diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-13 23:53:55 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-14 00:22:56 -0700 |
commit | ceee42714cf382e9bb9ab71b846ad49497b29d6c (patch) | |
tree | b51c0b73a78fcd6e42aae5b1f6c90ee697fca52d /include/linux/serio.h | |
parent | 53957b56d765f4602715fefb1c553f7a538b3230 (diff) | |
download | kernel_samsung_crespo-ceee42714cf382e9bb9ab71b846ad49497b29d6c.zip kernel_samsung_crespo-ceee42714cf382e9bb9ab71b846ad49497b29d6c.tar.gz kernel_samsung_crespo-ceee42714cf382e9bb9ab71b846ad49497b29d6c.tar.bz2 |
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>
Diffstat (limited to 'include/linux/serio.h')
-rw-r--r-- | include/linux/serio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/serio.h b/include/linux/serio.h index b555256..a31c95a 100644 --- a/include/linux/serio.h +++ b/include/linux/serio.h @@ -55,9 +55,9 @@ struct serio { struct serio_driver { void *private; - char *description; + const char *description; - struct serio_device_id *id_table; + const struct serio_device_id *id_table; bool manual_bind; void (*write_wakeup)(struct serio *); |