Skip to content

Commit

Permalink
tty: serial: Make the STM32 serial port depend on it's arch
Browse files Browse the repository at this point in the history
The STM32 serial port is SoC specific so no point enabling it
without the architecture enabled.

Signed-off-by: Peter Robinson <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
nullr0ute authored and gregkh committed Nov 10, 2016
1 parent 0a940b0 commit adcb05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/tty/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit adcb05f

Please sign in to comment.