Input: serio_driver - mark id_table and description as const
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:22:56 +0000 (00:22 -0700)
Memory pointed to by these fields is not supposed to change.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
include/linux/serio.h

index b5552568178d9c459412bac9f10671b822ca2af4..a31c95a3171e6726ecce658ae75b67ab970432a8 100644 (file)
@@ -55,9 +55,9 @@ struct serio {
 
 struct serio_driver {
        void *private;
-       char *description;
+       const char *description;
 
-       struct serio_device_id *id_table;
+       const struct serio_device_id *id_table;
        bool manual_bind;
 
        void (*write_wakeup)(struct serio *);