summaryrefslogtreecommitdiff
path: root/src/soc/intel/jasperlake/elog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/jasperlake/elog.c')
-rw-r--r--src/soc/intel/jasperlake/elog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/jasperlake/elog.c b/src/soc/intel/jasperlake/elog.c
index cb9625a675..ccf6fd048b 100644
--- a/src/soc/intel/jasperlake/elog.c
+++ b/src/soc/intel/jasperlake/elog.c
@@ -100,7 +100,7 @@ static void pch_log_pme_internal_wake_source(void)
elog_add_event_wake(ELOG_WAKE_SOURCE_PME_INTERNAL, 0);
}
-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)
@@ -134,7 +134,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)