serial: mxs-auart+imx: allow compile testing on non-Freescale architectures
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 30 Sep 2015 08:19:39 +0000 (10:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 17:46:43 +0000 (18:46 +0100)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/Kconfig

index 835ef4d3028f520a3785952f2a32b658d1874ab7..0667d1a512991932d5f00c3dc6af2f7023f32334 100644 (file)
@@ -571,7 +571,7 @@ config BFIN_UART3_CTSRTS
 
 config SERIAL_IMX
        tristate "IMX serial port support"
-       depends on ARCH_MXC
+       depends on ARCH_MXC || COMPILE_TEST
        select SERIAL_CORE
        select RATIONAL
        help
@@ -1409,7 +1409,7 @@ config SERIAL_PCH_UART_CONSOLE
          warnings and which allows logins in single user mode).
 
 config SERIAL_MXS_AUART
-       depends on ARCH_MXS
+       depends on ARCH_MXS || COMPILE_TEST
        tristate "MXS AUART support"
        select SERIAL_CORE
        select SERIAL_MCTRL_GPIO if GPIOLIB