summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-06-05 00:58:47 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-06-06 13:09:55 -0700
commit37fb5b5604c5852daaa10110a29db1bb21d4f769 (patch)
tree9314122dcd49d4a499c4aa28d170a1f56ad77303
parente8bfa7607342a21af06a0d365bf2f1d3062643bd (diff)
downloadtalos-obmc-linux-37fb5b5604c5852daaa10110a29db1bb21d4f769.tar.gz
talos-obmc-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>
-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
OpenPOWER on IntegriCloud