From: Jiri Slaby Date: Tue, 27 Sep 2022 11:05:28 +0000 (+0200) Subject: tty: serial: allow pxa.c to be COMPILE_TESTed X-Git-Tag: v6.6.17~6450^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a1088116ba5ddbfcd69789b4a153733c9686cbb;p=platform%2Fkernel%2Flinux-rpi.git 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 Link: https://lore.kernel.org/r/20220927110528.12815-1-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig index 1aec3cf..59c63fc 100644 --- a/drivers/tty/serial/Kconfig +++ b/drivers/tty/serial/Kconfig @@ -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)"