tty: serial: allow pxa.c to be COMPILE_TESTed

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@suse.cz>
Link: https://lore.kernel.org/r/20220927110528.12815-1-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jiri Slaby 2022-09-27 13:05:28 +02:00 committed by Greg Kroah-Hartman
parent dfdabd3856
commit 8a1088116b

View File

@ -428,7 +428,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)"