diff options
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r-- | include/linux/hid.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index 0c48991b0402..ff545cc33c3a 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
@@ -393,10 +393,12 @@ struct hid_report { | |||
393 | struct hid_device *device; /* associated device */ | 393 | struct hid_device *device; /* associated device */ |
394 | }; | 394 | }; |
395 | 395 | ||
396 | #define HID_MAX_IDS 256 | ||
397 | |||
396 | struct hid_report_enum { | 398 | struct hid_report_enum { |
397 | unsigned numbered; | 399 | unsigned numbered; |
398 | struct list_head report_list; | 400 | struct list_head report_list; |
399 | struct hid_report *report_id_hash[256]; | 401 | struct hid_report *report_id_hash[HID_MAX_IDS]; |
400 | }; | 402 | }; |
401 | 403 | ||
402 | #define HID_REPORT_TYPES 3 | 404 | #define HID_REPORT_TYPES 3 |