summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorGeert Uytterhoeven2016-03-18 13:45:51 +0100
committerGreg Kroah-Hartman2016-04-30 18:26:55 +0200
commit3d23b4c364e6fca720bf68655248c16c498e36f3 (patch)
tree44899aa574c1ab237e48873ffc210b450bd8fa94 /drivers/tty
parentdrivers/tty: make serial/mvebu-uart.c explicitly non-modular (diff)
downloadkernel-qcow2-linux-3d23b4c364e6fca720bf68655248c16c498e36f3.tar.gz
kernel-qcow2-linux-3d23b4c364e6fca720bf68655248c16c498e36f3.tar.xz
kernel-qcow2-linux-3d23b4c364e6fca720bf68655248c16c498e36f3.zip
serial: Make SERIAL_MVEBU_UART depend on ARCH_MVEBU
Enabling support for the UART on Marvell EBU SoCs only make sense when compiling for Marvell EBU SoCs, unless compile-testing. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index aa86994ca734..2857bd6f642c 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1605,6 +1605,7 @@ config SERIAL_STM32_CONSOLE
config SERIAL_MVEBU_UART
bool "Marvell EBU serial port support"
+ depends on ARCH_MVEBU || COMPILE_TEST
select SERIAL_CORE
help
This driver is for Marvell EBU SoC's UART. If you have a machine