summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2022-09-27 13:05:28 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-09-30 14:57:51 +0200
commit8a1088116ba5ddbfcd69789b4a153733c9686cbb (patch)
tree6dd9c90281be6d078c4a74c29d5a2f1b77e0f04a /drivers/tty/serial
parentdfdabd3856547c3bed996134e84b9452fb19e695 (diff)
downloadlinux-8a1088116ba5ddbfcd69789b4a153733c9686cbb.tar.bz2
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>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r--drivers/tty/serial/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index 1aec3cf002f7..59c63fcd3273 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)"