summaryrefslogtreecommitdiff
path: root/common/devices.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/devices.c')
-rw-r--r--common/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/devices.c b/common/devices.c
index aa05533..7c85952 100644
--- a/common/devices.c
+++ b/common/devices.c
@@ -73,7 +73,7 @@ static void drv_system_init (void)
strcpy (dev.name, "serial");
dev.flags = DEV_FLAGS_OUTPUT | DEV_FLAGS_INPUT | DEV_FLAGS_SYSTEM;
-#if CONFIG_SERIAL_SOFTWARE_FIFO
+#ifdef CONFIG_SERIAL_SOFTWARE_FIFO
dev.putc = serial_buffered_putc;
dev.puts = serial_buffered_puts;
dev.getc = serial_buffered_getc;