summaryrefslogtreecommitdiff
path: root/src/mainboard/apple/macbook21/cstates.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/apple/macbook21/cstates.c')
-rw-r--r--src/mainboard/apple/macbook21/cstates.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/apple/macbook21/cstates.c b/src/mainboard/apple/macbook21/cstates.c
index 8f295040f7..13d06f0839 100644
--- a/src/mainboard/apple/macbook21/cstates.c
+++ b/src/mainboard/apple/macbook21/cstates.c
@@ -2,7 +2,7 @@
#include <acpi/acpigen.h>
-static acpi_cstate_t cst_entries[] = {
+static const acpi_cstate_t cst_entries[] = {
{
.ctype = 1,
.latency = 1,
@@ -31,7 +31,7 @@ static acpi_cstate_t cst_entries[] = {
},
};
-int get_cst_entries(acpi_cstate_t **entries)
+int get_cst_entries(const acpi_cstate_t **entries)
{
*entries = cst_entries;
return ARRAY_SIZE(cst_entries);