include/linux/usb/audio.h: add __attribute__((packed))
authorDaniel Mack <daniel@caiaq.de>
Tue, 11 May 2010 16:13:49 +0000 (18:13 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 11 May 2010 20:43:50 +0000 (22:43 +0200)
This was missing on the definition of struct uac_iso_endpoint_descriptor

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/linux/usb/audio.h

index 57f20551939d1759790cc49b4426c4035dcd5dbb..9fae6bdab3387151259f937cbf7c2649c23c64bb 100644 (file)
@@ -456,7 +456,7 @@ struct uac_iso_endpoint_descriptor {
        __u8  bmAttributes;
        __u8  bLockDelayUnits;
        __le16 wLockDelay;
-};
+} __attribute__((packed));
 #define UAC_ISO_ENDPOINT_DESC_SIZE     7
 
 #define UAC_EP_CS_ATTR_SAMPLE_RATE     0x01