diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2006-08-30 23:02:10 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2006-08-30 23:02:10 +0200 |
commit | 0fd30252c840ee54d2a80475d6504766d43b8add (patch) | |
tree | 1ca4d91cd9ef225477cfc5aeeb9008f08ac587c2 /drivers/ns9750_serial.c | |
parent | 2b75062a0f97ad6ff19d9d2c030d4b29829260f1 (diff) | |
download | u-boot-imx-0fd30252c840ee54d2a80475d6504766d43b8add.zip u-boot-imx-0fd30252c840ee54d2a80475d6504766d43b8add.tar.gz u-boot-imx-0fd30252c840ee54d2a80475d6504766d43b8add.tar.bz2 |
Make the serial driver framework work with CONFIG_SERIAL_MULTI enabled
Diffstat (limited to 'drivers/ns9750_serial.c')
-rw-r--r-- | drivers/ns9750_serial.c | 4 |
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 ); |