summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/Kconfig
diff options
context:
space:
mode:
authorFabio Estevam2013-06-05 05:58:47 +0200
committerGreg Kroah-Hartman2013-06-06 22:09:55 +0200
commit37fb5b5604c5852daaa10110a29db1bb21d4f769 (patch)
tree9314122dcd49d4a499c4aa28d170a1f56ad77303 /drivers/tty/serial/Kconfig
parentserial: imx: Fix warning when !CONFIG_SERIAL_IMX_CONSOLE (diff)
downloadkernel-qcow2-linux-37fb5b5604c5852daaa10110a29db1bb21d4f769.tar.gz
kernel-qcow2-linux-37fb5b5604c5852daaa10110a29db1bb21d4f769.tar.xz
kernel-qcow2-linux-37fb5b5604c5852daaa10110a29db1bb21d4f769.zip
serial: imx: Allow module build
There is no need to only allow the serial driver to be built-in. Allow the imx serial driver to be built as a module. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r--drivers/tty/serial/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 64250b19cd8d..28ebf9097951 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -551,7 +551,7 @@ config BFIN_UART3_CTSRTS
Enable hardware flow control in the driver.
config SERIAL_IMX
- bool "IMX serial port support"
+ tristate "IMX serial port support"
depends on ARCH_MXC
select SERIAL_CORE
select RATIONAL
@@ -561,7 +561,7 @@ config SERIAL_IMX
config SERIAL_IMX_CONSOLE
bool "Console on IMX serial port"
- depends on SERIAL_IMX
+ depends on SERIAL_IMX=y
select SERIAL_CORE_CONSOLE
help
If you have enabled the serial port on the Motorola IMX