summaryrefslogtreecommitdiffstats
path: root/src/device/oprom/yabel/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/oprom/yabel/device.c')
-rw-r--r--src/device/oprom/yabel/device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/device/oprom/yabel/device.c b/src/device/oprom/yabel/device.c
index b3e5d19fdf92..cd1abfb026e9 100644
--- a/src/device/oprom/yabel/device.c
+++ b/src/device/oprom/yabel/device.c
@@ -33,6 +33,7 @@
*****************************************************************************/
+#include <compiler.h>
#include "device.h"
#include "compat/rtas.h"
#include <string.h>
@@ -56,7 +57,7 @@ typedef struct {
u8 cfg_space_offset;
u64 address;
u64 size;
-} __attribute__ ((__packed__)) assigned_address_t;
+} __packed assigned_address_t;
#if IS_ENABLED(CONFIG_PCI_OPTION_ROM_RUN_YABEL)
/* coreboot version */