diff options
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 300036b7755a..155b2bc96842 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -978,9 +978,6 @@ struct input_dev { | |||
978 | unsigned int users; | 978 | unsigned int users; |
979 | 979 | ||
980 | struct class_device cdev; | 980 | struct class_device cdev; |
981 | struct device *dev; /* will be removed soon */ | ||
982 | |||
983 | int dynalloc; /* temporarily */ | ||
984 | 981 | ||
985 | struct list_head h_list; | 982 | struct list_head h_list; |
986 | struct list_head node; | 983 | struct list_head node; |
@@ -1093,12 +1090,6 @@ struct input_handle { | |||
1093 | #define to_handle(n) container_of(n,struct input_handle,d_node) | 1090 | #define to_handle(n) container_of(n,struct input_handle,d_node) |
1094 | #define to_handle_h(n) container_of(n,struct input_handle,h_node) | 1091 | #define to_handle_h(n) container_of(n,struct input_handle,h_node) |
1095 | 1092 | ||
1096 | static inline void init_input_dev(struct input_dev *dev) | ||
1097 | { | ||
1098 | INIT_LIST_HEAD(&dev->h_list); | ||
1099 | INIT_LIST_HEAD(&dev->node); | ||
1100 | } | ||
1101 | |||
1102 | struct input_dev *input_allocate_device(void); | 1093 | struct input_dev *input_allocate_device(void); |
1103 | void input_free_device(struct input_dev *dev); | 1094 | void input_free_device(struct input_dev *dev); |
1104 | 1095 | ||