projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fc49c4
)
Input: gameport_driver - mark description as const pointer
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:23:54 +0000
(
00:23
-0700)
Memory pointed to by the pointer should not change.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
include/linux/gameport.h
patch
|
blob
|
history
diff --git
a/include/linux/gameport.h
b/include/linux/gameport.h
index 361d1cc288d03cc690fbac6638d1e865df289556..632d1265fbe0dabc863d57aeab5af94caa4e9000 100644
(file)
--- a/
include/linux/gameport.h
+++ b/
include/linux/gameport.h
@@
-55,7
+55,7
@@
struct gameport {
struct gameport_driver {
void *private;
- char *description;
+ c
onst c
har *description;
int (*connect)(struct gameport *, struct gameport_driver *drv);
int (*reconnect)(struct gameport *);