projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f557f5e
)
[ARM] 3283/1: S3C2400 - defines the number of serial ports
author
Lucas Correia Villa Real
<lucasvr@gobolinux.org>
Wed, 8 Feb 2006 21:31:54 +0000
(21:31 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 8 Feb 2006 21:31:54 +0000
(21:31 +0000)
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>
drivers/serial/s3c2410.c
patch
|
blob
|
history
diff --git
a/drivers/serial/s3c2410.c
b/drivers/serial/s3c2410.c
index 0a2dd6c5b95fdecc116e78a4090552e31be90eaa..7410e093a6b9ffa733a4629c947c4d7324ecdcc7 100644
(file)
--- 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 */