From: Mike Frysinger Date: Thu, 17 Dec 2009 03:03:58 +0000 (-0500) Subject: usb: musb: make sure the register layout is packed X-Git-Tag: v2010.03-rc1~159^2~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dc2cd05c91a134d53fada41e8f97a434be22de02;p=platform%2Fkernel%2Fu-boot.git usb: musb: make sure the register layout is packed Signed-off-by: Mike Frysinger Signed-off-by: Remy Bohmer --- diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h index 15c7f49..cee7a11 100644 --- a/drivers/usb/musb/musb_core.h +++ b/drivers/usb/musb/musb_core.h @@ -137,7 +137,7 @@ struct musb_regs { struct musb_epN_regs epN; } ep[16]; -} __attribute__((aligned(32))); +} __attribute__((packed, aligned(32))); /* * MUSB Register bits