diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-14 02:53:55 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-14 03:23:54 -0400 |
commit | 37b0bb112b7e3ffa5015c4305a934e861b4e2e53 (patch) | |
tree | 49b20cffa20ac621852af5e66e323775875015b7 | |
parent | 7fc49c498c18795d35864bee433caf419bd013b2 (diff) |
Input: gameport_driver - mark description as const pointer
Memory pointed to by the pointer should not change.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
-rw-r--r-- | include/linux/gameport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/gameport.h b/include/linux/gameport.h index 361d1cc288d0..632d1265fbe0 100644 --- a/include/linux/gameport.h +++ b/include/linux/gameport.h | |||
@@ -55,7 +55,7 @@ struct gameport { | |||
55 | struct gameport_driver { | 55 | struct gameport_driver { |
56 | 56 | ||
57 | void *private; | 57 | void *private; |
58 | char *description; | 58 | const char *description; |
59 | 59 | ||
60 | int (*connect)(struct gameport *, struct gameport_driver *drv); | 60 | int (*connect)(struct gameport *, struct gameport_driver *drv); |
61 | int (*reconnect)(struct gameport *); | 61 | int (*reconnect)(struct gameport *); |