OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e68888
)
include/linux/usb/audio.h: add __attribute__((packed))
author
Daniel Mack
<daniel@caiaq.de>
Tue, 11 May 2010 16:13:49 +0000
(18:13 +0200)
committer
Takashi 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
patch
|
blob
|
history
diff --git
a/include/linux/usb/audio.h
b/include/linux/usb/audio.h
index
57f2055
..
9fae6bd
100644
(file)
--- a/
include/linux/usb/audio.h
+++ b/
include/linux/usb/audio.h
@@
-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