From: Dmitry Torokhov Date: Tue, 14 Sep 2010 06:53:55 +0000 (-0700) Subject: Input: gameport_driver - mark description as const pointer X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=37b0bb112b7e3ffa5015c4305a934e861b4e2e53;p=deliverable%2Flinux.git Input: gameport_driver - mark description as const pointer Memory pointed to by the pointer should not change. Signed-off-by: Dmitry Torokhov --- 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 *);