summaryrefslogtreecommitdiff
path: root/src/soc/amd/common/block
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2021-01-22 14:31:36 +0200
committerFelix Held <felix-coreboot@felixheld.de>2021-01-23 20:21:14 +0000
commit10f7f997ad439681b959962682cafc1993677c56 (patch)
tree6c446991e17796acf2c95fb9082135b728bfa14c /src/soc/amd/common/block
parentac0dc4a8401e4531aa60a56d9ad4dfa0450eca78 (diff)
soc/amd: Rename chipset_state to chipset_power_state
To implement some common helpers for CBMEM_ID_POWER_STATE allocation use the same struct name as soc/intel. Change-Id: I5d2c06a2a7b4602374562197c99b0ad7bcf50afb Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49835 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/amd/common/block')
-rw-r--r--src/soc/amd/common/block/acpi/pm_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/amd/common/block/acpi/pm_state.c b/src/soc/amd/common/block/acpi/pm_state.c
index 5b7567549a..1a1c9b218b 100644
--- a/src/soc/amd/common/block/acpi/pm_state.c
+++ b/src/soc/amd/common/block/acpi/pm_state.c
@@ -51,7 +51,7 @@ static void pm_fill_gnvs(const struct acpi_pm_gpe_state *state)
static void set_nvs_sws(void *unused)
{
- struct chipset_state *state;
+ struct chipset_power_state *state;
state = cbmem_find(CBMEM_ID_POWER_STATE);
if (state == NULL)