summaryrefslogtreecommitdiff
path: root/src/soc/intel/jasperlake/acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/jasperlake/acpi.c')
-rw-r--r--src/soc/intel/jasperlake/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/jasperlake/acpi.c b/src/soc/intel/jasperlake/acpi.c
index cc7b8ae62f..28ed1f1970 100644
--- a/src/soc/intel/jasperlake/acpi.c
+++ b/src/soc/intel/jasperlake/acpi.c
@@ -130,7 +130,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;