summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-06-15 22:25:13 +0100
committerAndy Green <andy.green@linaro.org>2011-06-15 22:25:13 +0100
commit211d3508555ffbc1c358d816b8abbc1d3acca87c (patch)
treec913a67d450d3e24c53ada61a97141b5248c8196
parent17d7560574b3d4c267a036b3ad0ff93f0acbeb02 (diff)
OMAP USB gcc4.6 usb fix
https://lists.yoctoproject.org/pipermail/poky/2011-June/006646.html Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r--include/linux/usb/ehci_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/ehci_def.h b/include/linux/usb/ehci_def.h
index 65638024519..b8c18339921 100644
--- a/include/linux/usb/ehci_def.h
+++ b/include/linux/usb/ehci_def.h
@@ -194,7 +194,7 @@ struct ehci_dbg_port {
u32 data47;
u32 address;
#define DBGP_EPADDR(dev, ep) (((dev)<<8)|(ep))
-} __attribute__ ((packed));
+} __attribute__ ((packed,aligned(__alignof__(int))));
#ifdef CONFIG_EARLY_PRINTK_DBGP
#include <linux/init.h>