Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f2a0c70 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Greg Kroah-Hartman
Browse files

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: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 195be84a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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