summaryrefslogtreecommitdiff
path: root/chip/npcx/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/lpc.c')
-rw-r--r--chip/npcx/lpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/lpc.c b/chip/npcx/lpc.c
index 57d147ed4c..078474b2e5 100644
--- a/chip/npcx/lpc.c
+++ b/chip/npcx/lpc.c
@@ -896,7 +896,7 @@ static void lpc_init(void)
#endif
/* Initialize Hardware for UART Host */
-#if CONFIG_UART_HOST
+#ifdef CONFIG_UART_HOST
/* Init COMx LPC UART */
/* FMCLK have to using 50MHz */
NPCX_DEVALT(0xB) = 0xFF;