diff options
author | Jonathan Neuschäfer <j.neuschaefer@gmx.net> | 2017-09-04 15:45:08 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-09-06 04:14:42 +0000 |
commit | f2f27c6bbd019c683833c829a73990f7ec0bc451 (patch) | |
tree | 7570c9779ab495c8bb8be031d96d6f29a1eb45ed /src/soc/amd/stoneyridge | |
parent | 1194aa8d08938411b3f13ba540dbba97ac58fa13 (diff) |
soc/amd/stoneyridge: Use __packed
__packed has been introduced in commit 6a00113de8
("Rename __attribute__((packed)) --> __packed"). Use it.
Change-Id: Ie654567ebff884b911de10bd9fef605436e72af8
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-on: https://review.coreboot.org/21346
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/soc/amd/stoneyridge')
-rw-r--r-- | src/soc/amd/stoneyridge/include/soc/nvs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/amd/stoneyridge/include/soc/nvs.h b/src/soc/amd/stoneyridge/include/soc/nvs.h index 68763a94de..20396bf560 100644 --- a/src/soc/amd/stoneyridge/include/soc/nvs.h +++ b/src/soc/amd/stoneyridge/include/soc/nvs.h @@ -24,6 +24,7 @@ #ifndef __SOC_STONEYRIDGE_NVS_H__ #define __SOC_STONEYRIDGE_NVS_H__ +#include <compiler.h> #include <stdint.h> #include <vendorcode/google/chromeos/gnvs.h> @@ -46,6 +47,6 @@ typedef struct global_nvs_t { /* ChromeOS specific (0x100 - 0xfff) */ chromeos_acpi_t chromeos; -} __attribute__((packed)) global_nvs_t; +} __packed global_nvs_t; #endif /* __SOC_STONEYRIDGE_NVS_H__ */ |