diff options
| author | Jiri Kosina <jkosina@suse.cz> | 2011-10-25 03:59:04 -0400 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.cz> | 2011-10-25 03:59:04 -0400 |
| commit | b3aec7b686329e6bb65aa08c7f9458f7fd512f06 (patch) | |
| tree | 67ae55567b5747f32ddd76dd63621bd2ca756a88 /include/linux | |
| parent | f6f12427844516bc8e9cf84f43aca7bbbaa48157 (diff) | |
| parent | 1bcc20675a1ac1ba47eaa201e02a89b0508e17b2 (diff) | |
Merge branch 'upstream' into for-linus
Conflicts:
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/hid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 6fb743d72bfe..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 |
| @@ -476,6 +477,7 @@ struct hid_device { /* device report descriptor */ | |||
| 476 | unsigned country; /* HID country */ | 477 | unsigned country; /* HID country */ |
| 477 | struct hid_report_enum report_enum[HID_REPORT_TYPES]; | 478 | struct hid_report_enum report_enum[HID_REPORT_TYPES]; |
| 478 | 479 | ||
| 480 | struct semaphore driver_lock; /* protects the current driver */ | ||
| 479 | struct device dev; /* device */ | 481 | struct device dev; /* device */ |
| 480 | struct hid_driver *driver; | 482 | struct hid_driver *driver; |
| 481 | struct hid_ll_driver *ll_driver; | 483 | struct hid_ll_driver *ll_driver; |
