aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2010-05-11 12:13:49 -0400
committerTakashi Iwai <tiwai@suse.de>2010-05-11 16:43:50 -0400
commit0350b6a0cbeaf46e0883d8c79ede2efd49965472 (patch)
tree9347700ec8df88eecc207274af5a550917e91c46 /include
parent5e688883563ef62bd3725922f1a795a8253df499 (diff)
include/linux/usb/audio.h: add __attribute__((packed))
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/audio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/audio.h b/include/linux/usb/audio.h
index 57f20551939d..9fae6bdab338 100644
--- a/include/linux/usb/audio.h
+++ b/include/linux/usb/audio.h
@@ -456,7 +456,7 @@ struct uac_iso_endpoint_descriptor {
456 __u8 bmAttributes; 456 __u8 bmAttributes;
457 __u8 bLockDelayUnits; 457 __u8 bLockDelayUnits;
458 __le16 wLockDelay; 458 __le16 wLockDelay;
459}; 459} __attribute__((packed));
460#define UAC_ISO_ENDPOINT_DESC_SIZE 7 460#define UAC_ISO_ENDPOINT_DESC_SIZE 7
461 461
462#define UAC_EP_CS_ATTR_SAMPLE_RATE 0x01 462#define UAC_EP_CS_ATTR_SAMPLE_RATE 0x01