summaryrefslogtreecommitdiff
path: root/src/soc/intel/cannonlake/include
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2017-08-25 12:40:50 -0600
committerAaron Durbin <adurbin@chromium.org>2017-08-26 16:26:45 +0000
commitb26e01a06718cc1a49a7c277c831b572a7301210 (patch)
treeff0c24650a496d4524d9029a5d87f54d16721fbc /src/soc/intel/cannonlake/include
parent97a09454d25bc19b80ae990743602ba0f943a9c0 (diff)
soc/intel/cannonlake: use __packed
Now that there is a handy macro utilize it. Change-Id: I560bc7a591075235229952cdea63d4e667f323ee Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/21204 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Lijian Zhao <lijian.zhao@intel.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/cannonlake/include')
-rw-r--r--src/soc/intel/cannonlake/include/soc/pm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/cannonlake/include/soc/pm.h b/src/soc/intel/cannonlake/include/soc/pm.h
index abf7db9b32..58037bd488 100644
--- a/src/soc/intel/cannonlake/include/soc/pm.h
+++ b/src/soc/intel/cannonlake/include/soc/pm.h
@@ -19,6 +19,7 @@
#include <arch/acpi.h>
#include <arch/io.h>
+#include <compiler.h>
#include <soc/gpe.h>
#include <soc/iomap.h>
#include <soc/smbus.h>
@@ -151,7 +152,7 @@ struct chipset_power_state {
uint32_t gen_pmcon_b;
uint32_t gblrst_cause[2];
uint32_t prev_sleep_state;
-} __attribute__ ((packed));
+} __packed;
/* Return the selected ACPI SCI IRQ */
int acpi_sci_irq(void);