summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-12-16 22:03:58 -0500
committerRemy Bohmer <linux@bohmer.net>2010-01-09 10:25:08 +0100
commitdc2cd05c91a134d53fada41e8f97a434be22de02 (patch)
tree2be4dd6df3b0dd29c9292012094d829000a7398a /drivers/usb
parent7b4292883b6fdc42984671fbe4e0a352ec704bde (diff)
downloadu-boot-imx-dc2cd05c91a134d53fada41e8f97a434be22de02.zip
u-boot-imx-dc2cd05c91a134d53fada41e8f97a434be22de02.tar.gz
u-boot-imx-dc2cd05c91a134d53fada41e8f97a434be22de02.tar.bz2
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/musb/musb_core.h2
1 files changed, 1 insertions, 1 deletions
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