projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53957b5
)
Input: serio_driver - mark id_table and description as const
author
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 14 Sep 2010 06:53:55 +0000
(23:53 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Tue, 14 Sep 2010 07:22:56 +0000
(
00:22
-0700)
Memory pointed to by these fields is not supposed to change.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
include/linux/serio.h
patch
|
blob
|
history
diff --git
a/include/linux/serio.h
b/include/linux/serio.h
index b5552568178d9c459412bac9f10671b822ca2af4..a31c95a3171e6726ecce658ae75b67ab970432a8 100644
(file)
--- a/
include/linux/serio.h
+++ b/
include/linux/serio.h
@@
-55,9
+55,9
@@
struct serio {
struct serio_driver {
void *private;
- char *description;
+ c
onst c
har *description;
- struct serio_device_id *id_table;
+
const
struct serio_device_id *id_table;
bool manual_bind;
void (*write_wakeup)(struct serio *);