From: Peter Robinson Date: Sun, 6 Nov 2016 20:05:02 +0000 (+0000) Subject: tty: serial: Make the STM32 serial port depend on it's arch X-Git-Tag: v4.10-rc1~149^2~17 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=adcb05f01f36628b32ac267e514cedad54ee499d;p=linux.git 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 Signed-off-by: Greg Kroah-Hartman --- 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 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.