diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-14 10:53:55 +0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-09-14 11:23:54 +0400 |
commit | 37b0bb112b7e3ffa5015c4305a934e861b4e2e53 (patch) | |
tree | 49b20cffa20ac621852af5e66e323775875015b7 /include/linux/gameport.h | |
parent | 7fc49c498c18795d35864bee433caf419bd013b2 (diff) | |
download | linux-37b0bb112b7e3ffa5015c4305a934e861b4e2e53.tar.xz |
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.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 { struct gameport_driver { void *private; - char *description; + const char *description; int (*connect)(struct gameport *, struct gameport_driver *drv); int (*reconnect)(struct gameport *); |