diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2013-07-17 08:48:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-27 01:06:15 +0200 |
commit | 2f2a0c70ce70572b517b7d2b5c68b7c9819fe3ff (patch) | |
tree | 93c0d664d39dd103a3baf7602d091932dd9b0e26 /drivers/tty/serial/Kconfig | |
parent | msm_serial: add missing iounmap() on error in msm_request_port() (diff) | |
download | linux-2f2a0c70ce70572b517b7d2b5c68b7c9819fe3ff.tar.xz linux-2f2a0c70ce70572b517b7d2b5c68b7c9819fe3ff.zip |
serial/efm32-uart: use COMPILE_TEST symbol to extend compile test coverage
The driver fails to build on x86 because writel_relaxed isn't available
there. That function exists on arm, arm64, avr32, hexagon, mips and sh,
but adding all these is overkill so stick to arm only.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/Kconfig')
-rw-r--r-- | drivers/tty/serial/Kconfig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index bc486deeeae5..6e73781bea63 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -1424,8 +1424,8 @@ config SERIAL_AR933X_NR_UARTS to support. config SERIAL_EFM32_UART - tristate "EFM32 UART/USART port." - depends on ARCH_EFM32 + tristate "EFM32 UART/USART port" + depends on ARM && (ARCH_EFM32 || COMPILE_TEST) select SERIAL_CORE help This driver support the USART and UART ports on |