X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fusbdescriptors.h;h=392fcf53780162fc87f6fbb58fdcb8496009111f;hb=c4df21490179ae95ef13b92ce7980992ffb1e5f8;hp=2dec3b93d65438cfc5c16ec4a1f04ee62a469ac7;hpb=6ca9da4d42aeb43df5ef29f7d0518009df583b2f;p=u-boot diff --git a/include/usbdescriptors.h b/include/usbdescriptors.h index 2dec3b93d6..392fcf5378 100644 --- a/include/usbdescriptors.h +++ b/include/usbdescriptors.h @@ -199,7 +199,7 @@ struct usb_endpoint_descriptor { u8 bmAttributes; u16 wMaxPacketSize; u8 bInterval; -} __attribute__ ((packed)); +} __attribute__ ((packed)) __attribute__ ((aligned(2))); struct usb_interface_descriptor { u8 bLength;