Skip to content

Commit

Permalink
[ARM] 3283/1: S3C2400 - defines the number of serial ports
Browse files Browse the repository at this point in the history
Patch from Lucas Correia Villa Real

This patch defines the number of serial ports on the S3C2400.

Signed-off-by: Lucas Correia Villa Real <lucasvr@gobolinux.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Lucas Correia Villa Real authored and Russell King committed Feb 8, 2006
1 parent f557f5e commit 5cba742
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/serial/s3c2410.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down

0 comments on commit 5cba742

Please sign in to comment.