diff --git a/arch/x86/core/early_serial.c b/arch/x86/core/early_serial.c index d828e7cf115..467267f1879 100644 --- a/arch/x86/core/early_serial.c +++ b/arch/x86/core/early_serial.c @@ -27,7 +27,7 @@ static mm_reg_t mmio; /* Still other devices use a MMIO region containing packed byte * registers */ -#if DEVICE_MMIO_IS_IN_RAM +#ifdef DEVICE_MMIO_IS_IN_RAM static mm_reg_t mmio; #define BASE mmio #else