[PATCH] tty: serial: allow pxa.c to be COMPILE_TESTed

From: Jiri Slaby
Date: Tue Sep 27 2022 - 07:08:03 EST


There is no issue compiling pxa.c even in the SERIAL_8250=y case. So to
cover it in the usual configurations, add "|| COMPILE_TEST" there.

Signed-off-by: Jiri Slaby <jslaby@xxxxxxx>
---
drivers/tty/serial/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 2a18a42a5004..cf7324215916 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -427,7 +427,7 @@ config SERIAL_PXA

config SERIAL_PXA_NON8250
bool
- depends on !SERIAL_8250
+ depends on !SERIAL_8250 || COMPILE_TEST

config SERIAL_PXA_CONSOLE
bool "Console on PXA serial port (DEPRECATED)"
--
2.37.3