Skip to content

Commit 37b4cab

Browse files
masneybgregkh
authored andcommitted
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 24cad1a ("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>
1 parent dcb8225 commit 37b4cab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/tty/serial/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ config SERIAL_CPM_CONSOLE
802802

803803
config SERIAL_PIC32
804804
tristate "Microchip PIC32 serial support"
805-
depends on MACH_PIC32 || (MIPS && COMPILE_TEST)
805+
depends on MACH_PIC32 || COMPILE_TEST
806806
select SERIAL_CORE
807807
help
808808
If you have a PIC32, this driver supports the serial ports.

0 commit comments

Comments
 (0)