summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/icelake/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/icelake/acpi.c')
-rw-r--r--src/soc/intel/icelake/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/icelake/acpi.c b/src/soc/intel/icelake/acpi.c
index fa6d038a5159..f822e8323b2f 100644
--- a/src/soc/intel/icelake/acpi.c
+++ b/src/soc/intel/icelake/acpi.c
@@ -127,7 +127,7 @@ acpi_cstate_t *soc_get_cstate_map(size_t *entries)
}
for (i = 0; i < *entries; i++) {
- memcpy(&map[i], &cstate_map[set[i]], sizeof(acpi_cstate_t));
+ map[i] = cstate_map[set[i]];
map[i].ctype = i + 1;
}
return map;