aboutsummaryrefslogtreecommitdiff
path: root/src/soc/samsung/exynos5250/i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/samsung/exynos5250/i2c.c')
-rw-r--r--src/soc/samsung/exynos5250/i2c.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/samsung/exynos5250/i2c.c b/src/soc/samsung/exynos5250/i2c.c
index 97db093119..2f3f28fb2b 100644
--- a/src/soc/samsung/exynos5250/i2c.c
+++ b/src/soc/samsung/exynos5250/i2c.c
@@ -14,6 +14,7 @@
* GNU General Public License for more details.
*/
+#include <compiler.h>
#include <arch/io.h>
#include <assert.h>
#include <console/console.h>
@@ -23,7 +24,7 @@
#include <soc/i2c.h>
#include <soc/periph.h>
-struct __attribute__ ((packed)) i2c_regs
+struct __packed i2c_regs
{
uint8_t con;
uint8_t _1[3];