diff options
Diffstat (limited to 'include/linux/hiddev.h')
-rw-r--r-- | include/linux/hiddev.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/linux/hiddev.h b/include/linux/hiddev.h index a5dd8148660b..921622222957 100644 --- a/include/linux/hiddev.h +++ b/include/linux/hiddev.h | |||
@@ -32,6 +32,18 @@ | |||
32 | * In-kernel definitions. | 32 | * In-kernel definitions. |
33 | */ | 33 | */ |
34 | 34 | ||
35 | struct hiddev { | ||
36 | int minor; | ||
37 | int exist; | ||
38 | int open; | ||
39 | struct mutex existancelock; | ||
40 | wait_queue_head_t wait; | ||
41 | struct hid_device *hid; | ||
42 | struct list_head list; | ||
43 | spinlock_t list_lock; | ||
44 | bool initialized; | ||
45 | }; | ||
46 | |||
35 | struct hid_device; | 47 | struct hid_device; |
36 | struct hid_usage; | 48 | struct hid_usage; |
37 | struct hid_field; | 49 | struct hid_field; |