]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
tty: serial: Make the STM32 serial port depend on it's arch
authorPeter Robinson <pbrobinson@gmail.com>
Sun, 6 Nov 2016 20:05:02 +0000 (20:05 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Nov 2016 14:01:15 +0000 (15:01 +0100)
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>
drivers/tty/serial/Kconfig

index 5a7c9d03f8cfb2745946915505543915d0a765fa..e9cf5b67f1b793e6b21f96a0c3371134a7eb5b90 100644 (file)
@@ -1639,7 +1639,7 @@ config SERIAL_STM32
        tristate "STMicroelectronics STM32 serial port support"
        select SERIAL_CORE
        depends on HAS_DMA
-       depends on ARM || COMPILE_TEST
+       depends on ARCH_STM32 || COMPILE_TEST
        help
          This driver is for the on-chip Serial Controller on
          STMicroelectronics STM32 MCUs.