summaryrefslogtreecommitdiffstats
path: root/drivers/serial/Kconfig
diff options
context:
space:
mode:
authorPaul Bolle <pebolle@tiscali.nl>2008-10-14 18:13:45 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-10-30 09:41:59 +0100
commitfb881f785f0003fc904c6db82909d937d968bcc9 (patch)
treebabde9fd5b4ba606b8372966f4e7a6cd0a4d75d1 /drivers/serial/Kconfig
parente946217e4fdaa67681bbabfa8e6b18641921f750 (diff)
downloadop-kernel-dev-fb881f785f0003fc904c6db82909d937d968bcc9.zip
op-kernel-dev-fb881f785f0003fc904c6db82909d937d968bcc9.tar.gz
[ARM] build fixes for netX serial driver
Make the netX serial driver tristate (as the help text implied). Make the serial driver build correctly if the netX serial console is disabled. Do not allow the netX serial console if the netX serial driver is build as a module. Signed-off-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/serial/Kconfig')
-rw-r--r--drivers/serial/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index c94d3c4..579d63a 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -1276,7 +1276,7 @@ config SERIAL_SGI_IOC3
say Y or M. Otherwise, say N.
config SERIAL_NETX
- bool "NetX serial port support"
+ tristate "NetX serial port support"
depends on ARM && ARCH_NETX
select SERIAL_CORE
help
@@ -1288,7 +1288,7 @@ config SERIAL_NETX
config SERIAL_NETX_CONSOLE
bool "Console on NetX serial port"
- depends on SERIAL_NETX
+ depends on SERIAL_NETX=y
select SERIAL_CORE_CONSOLE
help
If you have enabled the serial port on the Hilscher NetX SoC
OpenPOWER on IntegriCloud