usb: musb: make sure the register layout is packed
authorMike Frysinger <vapier@gentoo.org>
Thu, 17 Dec 2009 03:03:58 +0000 (22:03 -0500)
committerRemy Bohmer <linux@bohmer.net>
Sat, 9 Jan 2010 09:25:08 +0000 (10:25 +0100)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
drivers/usb/musb/musb_core.h

index 15c7f49a350dbdfd70e2fb9bb20843bf3d8ca58f..cee7a11294f00595eaefd88b0466b71a4595bb79 100644 (file)
@@ -137,7 +137,7 @@ struct musb_regs {
                struct musb_epN_regs epN;
        } ep[16];
 
-} __attribute__((aligned(32)));
+} __attribute__((packed, aligned(32)));
 
 /*
  * MUSB Register bits