summaryrefslogtreecommitdiff
path: root/src/soc/intel/elkhartlake/elog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/elkhartlake/elog.c')
-rw-r--r--src/soc/intel/elkhartlake/elog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/elkhartlake/elog.c b/src/soc/intel/elkhartlake/elog.c
index c88efc81bc..14e463c961 100644
--- a/src/soc/intel/elkhartlake/elog.c
+++ b/src/soc/intel/elkhartlake/elog.c
@@ -20,7 +20,7 @@ static void pch_log_gpio_gpe(u32 gpe0_sts, u32 gpe0_en, int start)
}
}
-static void pch_log_wake_source(struct chipset_power_state *ps)
+static void pch_log_wake_source(const struct chipset_power_state *ps)
{
/* Power Button */
if (ps->pm1_sts & PWRBTN_STS)
@@ -54,7 +54,7 @@ static void pch_log_wake_source(struct chipset_power_state *ps)
pch_log_gpio_gpe(ps->gpe0_sts[GPE_STD], ps->gpe0_en[GPE_STD], 96);
}
-static void pch_log_power_and_resets(struct chipset_power_state *ps)
+static void pch_log_power_and_resets(const struct chipset_power_state *ps)
{
/* Thermal Trip */
if (ps->gblrst_cause[0] & GBLRST_CAUSE0_THERMTRIP)