aboutsummaryrefslogtreecommitdiff
path: root/src/ec/quanta/ene_kb3940q/ec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ec/quanta/ene_kb3940q/ec.c')
-rw-r--r--src/ec/quanta/ene_kb3940q/ec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ec/quanta/ene_kb3940q/ec.c b/src/ec/quanta/ene_kb3940q/ec.c
index 11a1cb8e7d..af2d3782a2 100644
--- a/src/ec/quanta/ene_kb3940q/ec.c
+++ b/src/ec/quanta/ene_kb3940q/ec.c
@@ -129,7 +129,7 @@ void ec_mem_write(u8 addr, u8 data)
#ifndef __SMM__
static void ene_kb3940q_log_events(void)
{
-#if IS_ENABLED(CONFIG_ELOG)
+#if CONFIG(ELOG)
u8 reason = ec_mem_read(EC_SHUTDOWN_REASON);
if (reason)
elog_add_event_byte(ELOG_TYPE_EC_SHUTDOWN, reason);