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:
9c0f475
)
[SERIAL] 8250: limit range of runtime ports
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Fri, 3 Feb 2006 22:05:42 +0000
(22:05 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Fri, 3 Feb 2006 22:05:42 +0000
(22:05 +0000)
Prevent SERIAL_8250_RUNTIME_UARTS being larger than SERIAL_8250_NR_UARTS.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/serial/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/serial/Kconfig
b/drivers/serial/Kconfig
index 0d38f0f2ae2975d41f08fa059ab796385be2e71e..42d1de155292439c3c950ad728f511ccefb4c3c2 100644
(file)
--- a/
drivers/serial/Kconfig
+++ b/
drivers/serial/Kconfig
@@
-98,6
+98,7
@@
config SERIAL_8250_NR_UARTS
config SERIAL_8250_RUNTIME_UARTS
int "Number of 8250/16550 serial ports to register at runtime"
depends on SERIAL_8250
+ range 0 SERIAL_8250_NR_UARTS
default "4"
help
Set this to the maximum number of serial ports you want