summaryrefslogtreecommitdiff
path: root/drivers/ns9750_serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ns9750_serial.c')
-rw-r--r--drivers/ns9750_serial.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ns9750_serial.c b/drivers/ns9750_serial.c
index 8dff367..02c0d39 100644
--- a/drivers/ns9750_serial.c
+++ b/drivers/ns9750_serial.c
@@ -35,6 +35,10 @@
DECLARE_GLOBAL_DATA_PTR;
+#if !defined(CONFIG_CONS_INDEX)
+#error "No console index specified."
+#endif
+
#define CONSOLE CONFIG_CONS_INDEX
static unsigned int calcBitrateRegister( void );