Input: gameport_driver - mark description as const pointer
Dmitry Torokhov [Tue, 14 Sep 2010 06:53:55 +0000 (23:53 -0700)]
Memory pointed to by the pointer should not change.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

include/linux/gameport.h

index 361d1cc..632d126 100644 (file)
@@ -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 *);