From: Lucas Correia Villa Real Date: Wed, 8 Feb 2006 21:31:54 +0000 (+0000) Subject: [ARM] 3283/1: S3C2400 - defines the number of serial ports X-Git-Tag: MMI-PSA29.97-13-9~52115^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5cba742935ee7aee6f70d35da83e6398408418f7;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [ARM] 3283/1: S3C2400 - defines the number of serial ports Patch from Lucas Correia Villa Real This patch defines the number of serial ports on the S3C2400. Signed-off-by: Lucas Correia Villa Real Signed-off-by: Ben Dooks Signed-off-by: Russell King --- 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, ...) /* we can support 3 uarts, but not always use them */ +#ifdef CONFIG_CPU_S3C2400 +#define NR_PORTS (2) +#else #define NR_PORTS (3) +#endif /* port irq numbers */