]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - drivers/ns9750_serial.c
Make the serial driver framework work with CONFIG_SERIAL_MULTI enabled
[karo-tx-uboot.git] / drivers / ns9750_serial.c
index 8dff36774500a343f72efb4a9ba6224bc094076b..02c0d3952099c58cf4a8034adf55ae4f51ea8877 100644 (file)
 
 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 );