From: Russell King Date: Fri, 3 Feb 2006 22:05:42 +0000 (+0000) Subject: [SERIAL] 8250: limit range of runtime ports X-Git-Tag: v2.6.16-rc3~206^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=9a8ffccf3d282ee749210232465f61e1c48b7a86;p=linux-2.6-omap-h63xx.git [SERIAL] 8250: limit range of runtime ports Prevent SERIAL_8250_RUNTIME_UARTS being larger than SERIAL_8250_NR_UARTS. Signed-off-by: Russell King --- diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig index 0d38f0f2ae2..42d1de15529 100644 --- 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