From b26e01a06718cc1a49a7c277c831b572a7301210 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Fri, 25 Aug 2017 12:40:50 -0600 Subject: soc/intel/cannonlake: use __packed Now that there is a handy macro utilize it. Change-Id: I560bc7a591075235229952cdea63d4e667f323ee Signed-off-by: Aaron Durbin Reviewed-on: https://review.coreboot.org/21204 Tested-by: build bot (Jenkins) Reviewed-by: Lijian Zhao Reviewed-by: Furquan Shaikh --- src/soc/intel/cannonlake/include/soc/pm.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/soc/intel/cannonlake/include') 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 #include +#include #include #include #include @@ -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); -- cgit v1.2.3