summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/broadwell/include/soc/device_nvs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/broadwell/include/soc/device_nvs.h')
-rw-r--r--src/soc/intel/broadwell/include/soc/device_nvs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/broadwell/include/soc/device_nvs.h b/src/soc/intel/broadwell/include/soc/device_nvs.h
index a436a4c66173..15240d13b4b4 100644
--- a/src/soc/intel/broadwell/include/soc/device_nvs.h
+++ b/src/soc/intel/broadwell/include/soc/device_nvs.h
@@ -17,6 +17,7 @@
#define _BROADWELL_DEVICE_NVS_H_
#include <stdint.h>
+#include <compiler.h>
/* Offset in Global NVS where this structure lives */
#define DEVICE_NVS_OFFSET 0x1000
@@ -35,6 +36,6 @@ typedef struct {
u8 enable[9];
u32 bar0[9];
u32 bar1[9];
-} __attribute__((packed)) device_nvs_t;
+} __packed device_nvs_t;
#endif