diff options
Diffstat (limited to 'include/linux/hid.h')
| -rw-r--r-- | include/linux/hid.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 9cf8e7ae7450..deed5f9a1e1c 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
| @@ -71,6 +71,7 @@ | |||
| 71 | #include <linux/timer.h> | 71 | #include <linux/timer.h> |
| 72 | #include <linux/workqueue.h> | 72 | #include <linux/workqueue.h> |
| 73 | #include <linux/input.h> | 73 | #include <linux/input.h> |
| 74 | #include <linux/semaphore.h> | ||
| 74 | 75 | ||
| 75 | /* | 76 | /* |
| 76 | * We parse each description item into this structure. Short items data | 77 | * We parse each description item into this structure. Short items data |
| @@ -312,6 +313,7 @@ struct hid_item { | |||
| 312 | #define HID_QUIRK_BADPAD 0x00000020 | 313 | #define HID_QUIRK_BADPAD 0x00000020 |
| 313 | #define HID_QUIRK_MULTI_INPUT 0x00000040 | 314 | #define HID_QUIRK_MULTI_INPUT 0x00000040 |
| 314 | #define HID_QUIRK_HIDINPUT_FORCE 0x00000080 | 315 | #define HID_QUIRK_HIDINPUT_FORCE 0x00000080 |
| 316 | #define HID_QUIRK_MULTITOUCH 0x00000100 | ||
| 315 | #define HID_QUIRK_SKIP_OUTPUT_REPORTS 0x00010000 | 317 | #define HID_QUIRK_SKIP_OUTPUT_REPORTS 0x00010000 |
| 316 | #define HID_QUIRK_FULLSPEED_INTERVAL 0x10000000 | 318 | #define HID_QUIRK_FULLSPEED_INTERVAL 0x10000000 |
| 317 | #define HID_QUIRK_NO_INIT_REPORTS 0x20000000 | 319 | #define HID_QUIRK_NO_INIT_REPORTS 0x20000000 |
| @@ -475,6 +477,7 @@ struct hid_device { /* device report descriptor */ | |||
| 475 | unsigned country; /* HID country */ | 477 | unsigned country; /* HID country */ |
| 476 | struct hid_report_enum report_enum[HID_REPORT_TYPES]; | 478 | struct hid_report_enum report_enum[HID_REPORT_TYPES]; |
| 477 | 479 | ||
| 480 | struct semaphore driver_lock; /* protects the current driver */ | ||
| 478 | struct device dev; /* device */ | 481 | struct device dev; /* device */ |
| 479 | struct hid_driver *driver; | 482 | struct hid_driver *driver; |
| 480 | struct hid_ll_driver *ll_driver; | 483 | struct hid_ll_driver *ll_driver; |
