summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block/acpi/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/amd/common/block/acpi/acpi.c')
-rw-r--r--src/soc/amd/common/block/acpi/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/acpi/acpi.c b/src/soc/amd/common/block/acpi/acpi.c
index 9e4010d340..75d4adf811 100644
--- a/src/soc/amd/common/block/acpi/acpi.c
+++ b/src/soc/amd/common/block/acpi/acpi.c
@@ -79,7 +79,7 @@ void acpi_pm_gpe_add_events_print_events(void)
const struct chipset_power_state *ps;
const struct acpi_pm_gpe_state *state;
- if (acpi_pm_state_for_elog(&ps) < 0)
+ if (acpi_fetch_pm_state(&ps, PS_CLAIMER_ELOG) < 0)
return;
state = &ps->gpe_state;