diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2016-11-06 15:05:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-10 09:01:15 -0500 |
commit | adcb05f01f36628b32ac267e514cedad54ee499d (patch) | |
tree | e4445beea94ae7bc9037a47372a9a38012e8c4d0 /drivers/tty | |
parent | 0a940b0d252bb8616bb36a254f6a3273f007c3f3 (diff) |
tty: serial: Make the STM32 serial port depend on it's arch
The STM32 serial port is SoC specific so no point enabling it
without the architecture enabled.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 5a7c9d03f8cf..e9cf5b67f1b7 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig | |||
@@ -1639,7 +1639,7 @@ config SERIAL_STM32 | |||
1639 | tristate "STMicroelectronics STM32 serial port support" | 1639 | tristate "STMicroelectronics STM32 serial port support" |
1640 | select SERIAL_CORE | 1640 | select SERIAL_CORE |
1641 | depends on HAS_DMA | 1641 | depends on HAS_DMA |
1642 | depends on ARM || COMPILE_TEST | 1642 | depends on ARCH_STM32 || COMPILE_TEST |
1643 | help | 1643 | help |
1644 | This driver is for the on-chip Serial Controller on | 1644 | This driver is for the on-chip Serial Controller on |
1645 | STMicroelectronics STM32 MCUs. | 1645 | STMicroelectronics STM32 MCUs. |