]> git.karo-electronics.de Git - linux-beck.git/commitdiff
serial: imx: Allow module build
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 5 Jun 2013 03:58:47 +0000 (00:58 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 20:09:55 +0000 (13:09 -0700)
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>
drivers/tty/serial/Kconfig

index 64250b19cd8db679fedc6ec60bbdcd7f9530758e..28ebf90979515fbd2884c1a976d5bffac7e2db2c 100644 (file)
@@ -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