From: Fabio Estevam Date: Wed, 5 Jun 2013 03:58:47 +0000 (-0300) Subject: serial: imx: Allow module build X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=37fb5b5604c5852daaa10110a29db1bb21d4f769;p=linux-beck.git 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 Signed-off-by: Greg Kroah-Hartman --- 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