diff options
author | Dave Jones <davej@redhat.com> | 2013-09-03 21:13:23 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 21:25:26 (GMT) |
commit | 965e260a064a35359bc6281aa76c39e3f43ed9ba (patch) | |
tree | b3b883d79ead2cae2249bc52b38acc2cb0845623 /drivers/tty/serial | |
parent | e2c2725338cb5c51e8f1eada2b3dfb938bdb03ae (diff) | |
download | linux-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/Kconfig | 1 |
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. |