提交 37b0bb11 编写于 作者: D Dmitry Torokhov

Input: gameport_driver - mark description as const pointer

Memory pointed to by the pointer should not change.
Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
上级 7fc49c49
......@@ -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 *);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册