Input: gameport_driver - mark description as const pointer
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 14 Sep 2010 06:53:55 +0000 (23:53 -0700)
committerDmitry 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

index 361d1cc288d03cc690fbac6638d1e865df289556..632d1265fbe0dabc863d57aeab5af94caa4e9000 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 *);