aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/udc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/chipidea/udc.h')
-rw-r--r--drivers/usb/chipidea/udc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/chipidea/udc.h b/drivers/usb/chipidea/udc.h
index 4ff2384d7ca8..d12e8b59b110 100644
--- a/drivers/usb/chipidea/udc.h
+++ b/drivers/usb/chipidea/udc.h
@@ -40,7 +40,7 @@ struct ci13xxx_td {
40#define TD_CURR_OFFSET (0x0FFFUL << 0) 40#define TD_CURR_OFFSET (0x0FFFUL << 0)
41#define TD_FRAME_NUM (0x07FFUL << 0) 41#define TD_FRAME_NUM (0x07FFUL << 0)
42#define TD_RESERVED_MASK (0x0FFFUL << 0) 42#define TD_RESERVED_MASK (0x0FFFUL << 0)
43} __attribute__ ((packed)); 43} __attribute__ ((packed, aligned(4)));
44 44
45/* DMA layout of queue heads */ 45/* DMA layout of queue heads */
46struct ci13xxx_qh { 46struct ci13xxx_qh {
@@ -57,7 +57,7 @@ struct ci13xxx_qh {
57 /* 9 */ 57 /* 9 */
58 u32 RESERVED; 58 u32 RESERVED;
59 struct usb_ctrlrequest setup; 59 struct usb_ctrlrequest setup;
60} __attribute__ ((packed)); 60} __attribute__ ((packed, aligned(4)));
61 61
62/** 62/**
63 * struct ci13xxx_req - usb request representation 63 * struct ci13xxx_req - usb request representation