diff options
author | Dave Jones <davej@redhat.com> | 2013-09-03 17:13:23 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 17:25:26 -0400 |
commit | 965e260a064a35359bc6281aa76c39e3f43ed9ba (patch) | |
tree | b3b883d79ead2cae2249bc52b38acc2cb0845623 /drivers/tty/serial/Kconfig | |
parent | e2c2725338cb5c51e8f1eada2b3dfb938bdb03ae (diff) |
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/Kconfig')
-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 febd45cd5027..701ca60076ed 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig | |||
@@ -1512,6 +1512,7 @@ config SERIAL_FSL_LPUART_CONSOLE | |||
1512 | config SERIAL_ST_ASC | 1512 | config SERIAL_ST_ASC |
1513 | tristate "ST ASC serial port support" | 1513 | tristate "ST ASC serial port support" |
1514 | select SERIAL_CORE | 1514 | select SERIAL_CORE |
1515 | depends on ARM || COMPILE_TEST | ||
1515 | help | 1516 | help |
1516 | This driver is for the on-chip Asychronous Serial Controller on | 1517 | This driver is for the on-chip Asychronous Serial Controller on |
1517 | STMicroelectronics STi SoCs. | 1518 | STMicroelectronics STi SoCs. |