summaryrefslogtreecommitdiff
path: root/chip/lm4/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/lpc.c')
-rw-r--r--chip/lm4/lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/chip/lm4/lpc.c b/chip/lm4/lpc.c
index 5c5aad05c1..00dd23285c 100644
--- a/chip/lm4/lpc.c
+++ b/chip/lm4/lpc.c
@@ -386,7 +386,7 @@ static void handle_acpi_write(int is_cmd)
case EC_ACPI_MEM_TEST_COMPLIMENT:
result = 0xff - acpi_mem_test;
break;
-#ifdef CONFIG_PWM
+#ifdef CONFIG_PWM_KBLIGHT
case EC_ACPI_MEM_KEYBOARD_BACKLIGHT:
/*
* TODO: not very satisfying that LPC knows directly
@@ -412,7 +412,7 @@ static void handle_acpi_write(int is_cmd)
CPRINTF("[%T ACPI mem test 0x%02x]\n", data);
acpi_mem_test = data;
break;
-#ifdef CONFIG_PWM
+#ifdef CONFIG_PWM_KBLIGHT
case EC_ACPI_MEM_KEYBOARD_BACKLIGHT:
/*
* Debug output with CR not newline, because the host