diff options
Diffstat (limited to 'include/linux/hid.h')
-rw-r--r-- | include/linux/hid.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h index d951ec411241..4ce3b7a979ba 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h | |||
@@ -498,13 +498,13 @@ struct hid_parser { | |||
498 | 498 | ||
499 | struct hid_class_descriptor { | 499 | struct hid_class_descriptor { |
500 | __u8 bDescriptorType; | 500 | __u8 bDescriptorType; |
501 | __u16 wDescriptorLength; | 501 | __le16 wDescriptorLength; |
502 | } __attribute__ ((packed)); | 502 | } __attribute__ ((packed)); |
503 | 503 | ||
504 | struct hid_descriptor { | 504 | struct hid_descriptor { |
505 | __u8 bLength; | 505 | __u8 bLength; |
506 | __u8 bDescriptorType; | 506 | __u8 bDescriptorType; |
507 | __u16 bcdHID; | 507 | __le16 bcdHID; |
508 | __u8 bCountryCode; | 508 | __u8 bCountryCode; |
509 | __u8 bNumDescriptors; | 509 | __u8 bNumDescriptors; |
510 | 510 | ||