提交 adcb05f0 编写于 作者: P Peter Robinson 提交者: Greg Kroah-Hartman

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: NPeter Robinson <pbrobinson@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0a940b0d
......@@ -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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册