diff options
Diffstat (limited to 'drivers/serial/s3c2410.c')
-rw-r--r-- | drivers/serial/s3c2410.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/serial/s3c2410.c b/drivers/serial/s3c2410.c index 0a2dd6c5b95f..7410e093a6b9 100644 --- a/drivers/serial/s3c2410.c +++ b/drivers/serial/s3c2410.c | |||
@@ -161,7 +161,11 @@ s3c24xx_serial_dbg(const char *fmt, ...) | |||
161 | 161 | ||
162 | /* we can support 3 uarts, but not always use them */ | 162 | /* we can support 3 uarts, but not always use them */ |
163 | 163 | ||
164 | #ifdef CONFIG_CPU_S3C2400 | ||
165 | #define NR_PORTS (2) | ||
166 | #else | ||
164 | #define NR_PORTS (3) | 167 | #define NR_PORTS (3) |
168 | #endif | ||
165 | 169 | ||
166 | /* port irq numbers */ | 170 | /* port irq numbers */ |
167 | 171 | ||