]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/usbdescriptors.h
USB: Use (get|put)_unaligned for accessing wMaxPacketSize
[karo-tx-uboot.git] / include / usbdescriptors.h
index 392fcf53780162fc87f6fbb58fdcb8496009111f..2dec3b93d65438cfc5c16ec4a1f04ee62a469ac7 100644 (file)
@@ -199,7 +199,7 @@ struct usb_endpoint_descriptor {
        u8 bmAttributes;
        u16 wMaxPacketSize;
        u8 bInterval;
-} __attribute__ ((packed)) __attribute__ ((aligned(2)));
+} __attribute__ ((packed));
 
 struct usb_interface_descriptor {
        u8 bLength;