summaryrefslogtreecommitdiffstats
path: root/include/linux/gameport.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-09-13 23:53:55 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-09-14 00:23:54 -0700
commit37b0bb112b7e3ffa5015c4305a934e861b4e2e53 (patch)
tree49b20cffa20ac621852af5e66e323775875015b7 /include/linux/gameport.h
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>
Diffstat (limited to 'include/linux/gameport.h')
-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 361d1cc288d..632d1265fbe 100644
--- a/include/linux/gameport.h
+++ b/include/linux/gameport.h
@@ -55,7 +55,7 @@ struct gameport {
struct gameport_driver {
void *private;
- char *description;
+ const char *description;
int (*connect)(struct gameport *, struct gameport_driver *drv);
int (*reconnect)(struct gameport *);