summaryrefslogtreecommitdiff
path: root/src/soc/intel/apollolake/elog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/apollolake/elog.c')
-rw-r--r--src/soc/intel/apollolake/elog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/apollolake/elog.c b/src/soc/intel/apollolake/elog.c
index b65ab10e6d..d17d407413 100644
--- a/src/soc/intel/apollolake/elog.c
+++ b/src/soc/intel/apollolake/elog.c
@@ -23,7 +23,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)
{
const struct xhci_wake_info xhci_wake_info[] = {
{ PCH_DEVFN_XHCI, ELOG_WAKE_SOURCE_PME_XHCI },
@@ -65,7 +65,7 @@ static void pch_log_wake_source(struct chipset_power_state *ps)
pch_log_gpio_gpe(ps->gpe0_sts[GPE0_D], ps->gpe0_en[GPE0_D], 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)
{
/* RTC Reset */
if (ps->gen_pmcon1 & RPS)