summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/arch-omap4/mux_omap4.h
diff options
context:
space:
mode:
authorAneesh V <aneesh@ti.com>2012-03-08 07:20:21 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-05-15 08:31:26 +0200
commit03f69dc6fdc34e5e51f2c09373ff1bea7d16e36b (patch)
tree360af405d898ff8428440cfd7f87f9c542045147 /arch/arm/include/asm/arch-omap4/mux_omap4.h
parentf61faeba822d6db72ade5fb6fe04b4db122a0874 (diff)
downloadtalos-obmc-uboot-03f69dc6fdc34e5e51f2c09373ff1bea7d16e36b.tar.gz
talos-obmc-uboot-03f69dc6fdc34e5e51f2c09373ff1bea7d16e36b.zip
omap4+: Avoid using __attribute__ ((__packed__))
Avoid using __attribute__ ((__packed__)) unless it's absolutely necessary. "packed" will remove alignment requirements for the respective objects and may cause alignment issues unless alignment is also enforced using a pragma. Here, these packed attributes were causing alignment faults in Thumb build. Signed-off-by: Aneesh V <aneesh@ti.com>
Diffstat (limited to 'arch/arm/include/asm/arch-omap4/mux_omap4.h')
-rw-r--r--arch/arm/include/asm/arch-omap4/mux_omap4.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-omap4/mux_omap4.h b/arch/arm/include/asm/arch-omap4/mux_omap4.h
index 30bfad7c20..4de7c70bf6 100644
--- a/arch/arm/include/asm/arch-omap4/mux_omap4.h
+++ b/arch/arm/include/asm/arch-omap4/mux_omap4.h
@@ -34,7 +34,7 @@ struct pad_conf_entry {
u16 val;
-} __attribute__ ((packed));
+};
#ifdef CONFIG_OFF_PADCONF
#define OFF_PD (1 << 12)
OpenPOWER on IntegriCloud