summaryrefslogtreecommitdiff
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2013-09-03 21:13:23 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-26 21:25:26 (GMT)
commit965e260a064a35359bc6281aa76c39e3f43ed9ba (patch)
treeb3b883d79ead2cae2249bc52b38acc2cb0845623 /drivers/tty/serial
parente2c2725338cb5c51e8f1eada2b3dfb938bdb03ae (diff)
downloadlinux-965e260a064a35359bc6281aa76c39e3f43ed9ba.tar.xz
tty: serial: Restrict ST ASC driver to only build on !ARM when COMPILE_TEST is set.
The Kconfig for this option suggests it's only relevant on STi SoCs, so add depends to have it not show up on archs that won't ever run it. Signed-off-by: Dave Jones <davej@fedoraproject.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-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 febd45c..701ca60 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1512,6 +1512,7 @@ config SERIAL_FSL_LPUART_CONSOLE
config SERIAL_ST_ASC
tristate "ST ASC serial port support"
select SERIAL_CORE
+ depends on ARM || COMPILE_TEST
help
This driver is for the on-chip Asychronous Serial Controller on
STMicroelectronics STi SoCs.