Jonathan Neuschäfer has uploaded this change for review. ( https://review.coreboot.org/21393
Change subject: sb/intel/i82801jx: Use __packed ......................................................................
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 --- M src/southbridge/intel/i82801jx/nvs.h 1 file changed, 3 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/93/21393/1
diff --git a/src/southbridge/intel/i82801jx/nvs.h b/src/southbridge/intel/i82801jx/nvs.h index 49c6fc1..c3a3920 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 @@ 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);