Skip to content

Commit

Permalink
include/linux/usb/audio.h: add __attribute__((packed))
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Mack authored and Takashi Iwai committed May 11, 2010
1 parent 5e68888 commit 0350b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/usb/audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0350b6a

Please sign in to comment.