Skip to contentSkip to conversation

serial: pic32_uart: allow driver to be compiled on all architectures with COMPILE_TEST

PATCH New Brian Masney 1 participant 1 message Feb 22 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/tty/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/tty/serial/Kconfig +1 -1
index f86775cfdcc9eb2013006b28b630252bf7e947a2..69d9760da0efbd2388f28ebfa01050727b701140 100644
@@ -803,7 +803,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.

---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260222-serial-pic32-4bcd09d52983

Best regards,

Signature · 1 line
Brian Masney <[email protected]>