aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDmitry Torokhov <dtor@insightbb.com>2006-09-14 01:31:59 -0400
committerDmitry Torokhov <dtor@insightbb.com>2006-09-14 01:31:59 -0400
commit66e66118837ed95a299328437c2d9fb4b5137352 (patch)
tree901c8b3ab9ab01b0363992b65689cafe797fcb25 /include/linux
parent5206c0d5ec514733dd098cf658d71327d199c7a0 (diff)
Input: constify input core
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/input.h10
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 {
1059 void *private; 1059 void *private;
1060 1060
1061 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value); 1061 void (*event)(struct input_handle *handle, unsigned int type, unsigned int code, int value);
1062 struct input_handle* (*connect)(struct input_handler *handler, struct input_dev *dev, struct input_device_id *id); 1062 struct input_handle* (*connect)(struct input_handler *handler, struct input_dev *dev, const struct input_device_id *id);
1063 void (*disconnect)(struct input_handle *handle); 1063 void (*disconnect)(struct input_handle *handle);
1064 void (*start)(struct input_handle *handle); 1064 void (*start)(struct input_handle *handle);
1065 1065
1066 const struct file_operations *fops; 1066 const struct file_operations *fops;
1067 int minor; 1067 int minor;
1068 char *name; 1068 const char *name;
1069 1069
1070 struct input_device_id *id_table; 1070 const struct input_device_id *id_table;
1071 struct input_device_id *blacklist; 1071 const struct input_device_id *blacklist;
1072 1072
1073 struct list_head h_list; 1073 struct list_head h_list;
1074 struct list_head node; 1074 struct list_head node;
@@ -1079,7 +1079,7 @@ struct input_handle {
1079 void *private; 1079 void *private;
1080 1080
1081 int open; 1081 int open;
1082 char *name; 1082 const char *name;
1083 1083
1084 struct input_dev *dev; 1084 struct input_dev *dev;
1085 struct input_handler *handler; 1085 struct input_handler *handler;