usb: musb: make sure the register layout is packed
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Remy Bohmer <linux@bohmer.net>
This commit is contained in:
committed by
Remy Bohmer
parent
7b4292883b
commit
dc2cd05c91
@@ -137,7 +137,7 @@ struct musb_regs {
|
|||||||
struct musb_epN_regs epN;
|
struct musb_epN_regs epN;
|
||||||
} ep[16];
|
} ep[16];
|
||||||
|
|
||||||
} __attribute__((aligned(32)));
|
} __attribute__((packed, aligned(32)));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* MUSB Register bits
|
* MUSB Register bits
|
||||||
|
|||||||
Reference in New Issue
Block a user