summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-05-10 20:56:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-06-25 19:40:33 +0200
commit3e5af8e04a3b104b6a8ccca4ff33644b5bcc21f0 (patch)
treea1f5f264905a4674fb5823fed209f52a6bcb2691 /drivers/tty
parenttty: serial: msm: fix definition of msm_stop_dma (diff)
downloadlinux-3e5af8e04a3b104b6a8ccca4ff33644b5bcc21f0.tar.xz
linux-3e5af8e04a3b104b6a8ccca4ff33644b5bcc21f0.zip
serial: Make SERIAL_MPS2_UART depend on ARCH_MPS2
Enabling support for the UART on the ARM MPS2 platform only make sense when compiling for the ARM MPS2 platform, unless compile-testing. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Vladimir Murzin <vladimir.murzin@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index b5c8ad1573f4..518db24a5b36 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1478,7 +1478,7 @@ config SERIAL_MPS2_UART_CONSOLE
config SERIAL_MPS2_UART
bool "MPS2 UART port"
- depends on ARM || COMPILE_TEST
+ depends on ARCH_MPS2 || COMPILE_TEST
select SERIAL_CORE
help
This driver support the UART ports on ARM MPS2.