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 <dtor@mail.ru>
This commit is contained in:
parent
53957b56d7
commit
ceee42714c
1 changed files with 2 additions and 2 deletions
|
@ -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 *);
|
||||
|
|
Loading…
Reference in a new issue