X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=include%2Flinux%2Fhid.h;h=4ce3b7a979ba27212ed386312ec497a6a98f189c;hb=3ed43c745d2ce0c4ca15ad406285d1cc7e8ceec3;hp=fe4ac31eced27fbb5e117ad74d8704435009591c;hpb=abdff0f7749a6696ba2a4238b675cbc55abcdb7a;p=linux-2.6-omap-h63xx.git diff --git a/include/linux/hid.h b/include/linux/hid.h index fe4ac31eced..4ce3b7a979b 100644 --- a/include/linux/hid.h +++ b/include/linux/hid.h @@ -424,6 +424,7 @@ struct hid_control_fifo { #define HID_RESET_PENDING 4 #define HID_SUSPENDED 5 #define HID_CLEAR_HALT 6 +#define HID_DISCONNECTED 7 struct hid_input { struct list_head list; @@ -497,13 +498,13 @@ struct hid_parser { struct hid_class_descriptor { __u8 bDescriptorType; - __u16 wDescriptorLength; + __le16 wDescriptorLength; } __attribute__ ((packed)); struct hid_descriptor { __u8 bLength; __u8 bDescriptorType; - __u16 bcdHID; + __le16 bcdHID; __u8 bCountryCode; __u8 bNumDescriptors;