diff options
Diffstat (limited to 'include/linux/input.h')
-rw-r--r-- | include/linux/input.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 72731d7d189e..b9cc0ac71f44 100644 --- a/include/linux/input.h +++ b/include/linux/input.h | |||
@@ -859,6 +859,10 @@ struct input_dev { | |||
859 | int (*erase_effect)(struct input_dev *dev, int effect_id); | 859 | int (*erase_effect)(struct input_dev *dev, int effect_id); |
860 | 860 | ||
861 | struct input_handle *grab; | 861 | struct input_handle *grab; |
862 | |||
863 | struct semaphore sem; /* serializes open and close operations */ | ||
864 | unsigned int users; | ||
865 | |||
862 | struct device *dev; | 866 | struct device *dev; |
863 | 867 | ||
864 | struct list_head h_list; | 868 | struct list_head h_list; |
@@ -1015,7 +1019,7 @@ static inline void input_set_abs_params(struct input_dev *dev, int axis, int min | |||
1015 | dev->absbit[LONG(axis)] |= BIT(axis); | 1019 | dev->absbit[LONG(axis)] |= BIT(axis); |
1016 | } | 1020 | } |
1017 | 1021 | ||
1018 | extern struct class_simple *input_class; | 1022 | extern struct class *input_class; |
1019 | 1023 | ||
1020 | #endif | 1024 | #endif |
1021 | #endif | 1025 | #endif |