diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-10-17 13:35:23 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2021-10-19 15:00:01 +0000 |
commit | afd268a0cb440c1ccfaec5593bffbfe49bcfbf24 (patch) | |
tree | 7f119aedd20b35d282454574048290997ac5c926 /src/include | |
parent | e9f10ff38bf95000115d7c0a45cb0e6323cc61c8 (diff) |
cpu/intel/speedstep: Constify `get_cst_entries()`
Make the `get_cst_entries()` function provide a read-only pointer. Also,
constify the actual data where applicable.
Change-Id: Ib22b3e37b086a95af770465a45222e9b84202e54
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58393
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/acpi/acpigen.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/acpi/acpigen.h b/src/include/acpi/acpigen.h index cf14c7f39d..3af0959cfd 100644 --- a/src/include/acpi/acpigen.h +++ b/src/include/acpi/acpigen.h @@ -499,7 +499,7 @@ void acpigen_write_field(const char *name, const struct fieldlist *l, size_t cou void acpigen_write_indexfield(const char *idx, const char *data, struct fieldlist *l, size_t count, uint8_t flags); -int get_cst_entries(acpi_cstate_t **); +int get_cst_entries(const acpi_cstate_t **); /* * Get element from package into specified destination op: |