Browse Source

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>
Dmitry Torokhov 14 years ago
parent
commit
37b0bb112b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      include/linux/gameport.h

+ 1 - 1
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 *);