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>
This commit is contained in:
Jonathan Neuschäfer 2017-09-04 21:24:26 +02:00 committed by Martin Roth
parent f2f27c6bbd
commit bdc7567cf5
1 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,8 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <compiler.h>
typedef struct { typedef struct {
/* Miscellaneous */ /* Miscellaneous */
u16 osys; /* 0x00 - Operating System */ u16 osys; /* 0x00 - Operating System */
@ -130,6 +132,6 @@ typedef struct {
u8 dock; /* 0xf0 - Docking Status */ u8 dock; /* 0xf0 - Docking Status */
u8 bten; u8 bten;
u8 rsvd13[14]; u8 rsvd13[14];
} __attribute__((packed)) global_nvs_t; } __packed global_nvs_t;
void acpi_create_gnvs(global_nvs_t *gnvs); void acpi_create_gnvs(global_nvs_t *gnvs);