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:23:54 -0400
commit37b0bb112b7e3ffa5015c4305a934e861b4e2e53 (patch)
tree49b20cffa20ac621852af5e66e323775875015b7
parent7fc49c498c18795d35864bee433caf419bd013b2 (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.h2
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 {
55struct gameport_driver { 55struct 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 *);