diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2006-09-14 01:31:59 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2006-09-14 01:31:59 -0400 |
commit | 66e66118837ed95a299328437c2d9fb4b5137352 (patch) | |
tree | 901c8b3ab9ab01b0363992b65689cafe797fcb25 /include/linux/input.h | |
parent | 5206c0d5ec514733dd098cf658d71327d199c7a0 (diff) | |
download | lwn-66e66118837ed95a299328437c2d9fb4b5137352.tar.gz lwn-66e66118837ed95a299328437c2d9fb4b5137352.zip |
Input: constify input core
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index a7a1f55a5eed..300036b7755a 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -1059,16 +1059,16 @@ struct input_handler { void *private; void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value); - struct input_handle* (*connect)(struct input_handler *handler, struct input_dev *dev, struct input_device_id *id); + struct input_handle* (*connect)(struct input_handler *handler, struct input_dev *dev, const struct input_device_id *id); void (*disconnect)(struct input_handle *handle); void (*start)(struct input_handle *handle); const struct file_operations *fops; int minor; - char *name; + const char *name; - struct input_device_id *id_table; - struct input_device_id *blacklist; + const struct input_device_id *id_table; + const struct input_device_id *blacklist; struct list_head h_list; struct list_head node; @@ -1079,7 +1079,7 @@ struct input_handle { void *private; int open; - char *name; + const char *name; struct input_dev *dev; struct input_handler *handler; |