diff --git a/drivers/gpu/drm/amd/pm/inc/smu_v13_0_0_pptable.h b/drivers/gpu/drm/amd/pm/inc/smu_v13_0_0_pptable.h index 670f2ef678687b79fdc1c9487ec8eaa4c9816a09..566a0da59e530d6e7e1a0dfa69be54fc65a2cc88 100644 --- a/drivers/gpu/drm/amd/pm/inc/smu_v13_0_0_pptable.h +++ b/drivers/gpu/drm/amd/pm/inc/smu_v13_0_0_pptable.h @@ -22,6 +22,8 @@ #ifndef SMU_13_0_0_PPTABLE_H #define SMU_13_0_0_PPTABLE_H +#pragma pack(push, 1) + #define SMU_13_0_0_TABLE_FORMAT_REVISION 15 //// POWERPLAYTABLE::ulPlatformCaps @@ -194,7 +196,8 @@ struct smu_13_0_0_powerplay_table struct smu_13_0_0_overdrive_table overdrive_table; uint8_t padding1; PPTable_t smc_pptable; //PPTable_t in driver_if.h -} __attribute__((packed)); +}; +#pragma pack(pop) #endif