summaryrefslogtreecommitdiff
path: root/src/drivers/pc80/pc/i8254.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/pc80/pc/i8254.c')
-rw-r--r--src/drivers/pc80/pc/i8254.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/pc80/pc/i8254.c b/src/drivers/pc80/pc/i8254.c
index 5851ec08a0..eb91bf6f01 100644
--- a/src/drivers/pc80/pc/i8254.c
+++ b/src/drivers/pc80/pc/i8254.c
@@ -32,7 +32,7 @@ void setup_i8254(void)
outb(0x12, TIMER1_PORT);
}
-#if CONFIG_UDELAY_TIMER2
+#if IS_ENABLED(CONFIG_UDELAY_TIMER2)
static void load_timer2(unsigned int ticks)
{
/* Set up the timer gate, turn off the speaker */