summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorBrian Masney <bmasney@redhat.com>2026-02-22 18:29:08 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-12 15:25:04 +0100
commit37b4cab642f285176ed392e2f5a467a531424f90 (patch)
treed475e20adb8ca5b5521d5674db9f76abf1d7ed9e /drivers/tty
parentdcb822503bfc77fe93e8ca15c82077ee590dd7b9 (diff)
downloadlinux-next-37b4cab642f285176ed392e2f5a467a531424f90.tar.gz
linux-next-37b4cab642f285176ed392e2f5a467a531424f90.zip
serial: pic32_uart: allow driver to be compiled on all architectures with COMPILE_TEST
This driver currently only supports builds against a PIC32 target, or with COMPILE_TEST on MIPS. Now that commit 24cad1a22848 ("serial: pic32_uart: update include to use pic32.h from platform_data") is merged, it's possible to compile this driver on other architectures. To avoid future breakage of this driver in the future, let's update the Kconfig so that it can be built with COMPILE_TEST enabled on all architectures. Signed-off-by: Brian Masney <bmasney@redhat.com> Link: https://patch.msgid.link/20260222-serial-pic32-v1-1-8fdbc0d0d334@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-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 b8571431ba9e..9aa61c93d7bc 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -802,7 +802,7 @@ config SERIAL_CPM_CONSOLE
config SERIAL_PIC32
tristate "Microchip PIC32 serial support"
- depends on MACH_PIC32 || (MIPS && COMPILE_TEST)
+ depends on MACH_PIC32 || COMPILE_TEST
select SERIAL_CORE
help
If you have a PIC32, this driver supports the serial ports.