Skip to content
Snippets Groups Projects
Commit 03f69dc6 authored by Aneesh V's avatar Aneesh V Committed by Albert ARIBAUD
Browse files

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: default avatarAneesh V <aneesh@ti.com>
parent f61faeba
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ struct pad_conf_entry {
u16 val;
} __attribute__ ((packed));
};
#ifdef CONFIG_OFF_PADCONF
#define OFF_PD (1 << 12)
......
......@@ -34,7 +34,7 @@ struct pad_conf_entry {
u16 val;
} __attribute__ ((__packed__));
};
#ifdef CONFIG_OFF_PADCONF
#define OFF_PD (1 << 12)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment