mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-28 15:20:41 +00:00
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>
This commit is contained in:
parent
e2c2725338
commit
965e260a06
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue