diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2017-09-04 21:24:26 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-09-06 04:14:49 +0000 |
commit | bdc7567cf5efcca2a026daa47bbe1e12e1e75117 (patch) | |
tree | fc5582e928c079c659719b639ecf4a1a2f90bf54 /src/southbridge | |
parent | f2f27c6bbd019c683833c829a73990f7ec0bc451 (diff) | |
download | coreboot-bdc7567cf5efcca2a026daa47bbe1e12e1e75117.tar.xz |
sb/intel/i82801jx: Use __packed
__packed has been introduced in commit 6a00113de8
("Rename __attribute__((packed)) --> __packed"). Use it.
Change-Id: Ifd33129ae4fbe14c26ceeaaa88832ef994a32dfb
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/21393
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/intel/i82801jx/nvs.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801jx/nvs.h b/src/southbridge/intel/i82801jx/nvs.h index 49c6fc1db5..c3a3920596 100644 --- a/src/southbridge/intel/i82801jx/nvs.h +++ b/src/southbridge/intel/i82801jx/nvs.h @@ -13,6 +13,8 @@ * GNU General Public License for more details. */ +#include <compiler.h> + typedef struct { /* Miscellaneous */ u16 osys; /* 0x00 - Operating System */ @@ -130,6 +132,6 @@ typedef struct { u8 dock; /* 0xf0 - Docking Status */ u8 bten; u8 rsvd13[14]; -} __attribute__((packed)) global_nvs_t; +} __packed global_nvs_t; void acpi_create_gnvs(global_nvs_t *gnvs); |