From: Dmitry Torokhov Date: Tue, 14 Sep 2010 06:53:55 +0000 (-0700) Subject: Input: serio_driver - mark id_table and description as const X-Git-Tag: v2.6.37-rc1~5^2~3^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ceee42714cf382e9bb9ab71b846ad49497b29d6c;p=profile%2Fcommon%2Fkernel-common.git Input: serio_driver - mark id_table and description as const Memory pointed to by these fields is not supposed to change. Signed-off-by: Dmitry Torokhov --- diff --git a/include/linux/serio.h b/include/linux/serio.h index b555256..a31c95a 100644 --- a/include/linux/serio.h +++ b/include/linux/serio.h @@ -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 *);