summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Masney <bmasney@redhat.com>2026-02-23 02:24:16 +0300
committerGuenter Roeck <linux@roeck-us.net>2026-05-10 18:31:33 +0300
commit79bbc356d537969332ddd0bf3b990438224e013b (patch)
tree10ae12c6e14c58680ba73e5bad86ca0b60239fc4
parent96b3cfc3b8ad0524d12fed1e08bc5df3ff345f64 (diff)
downloadlinux-79bbc356d537969332ddd0bf3b990438224e013b.tar.xz
watchdog: pic32-wdt: 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 5aa5879eeebb ("watchdog: pic32-wdt: 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> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20260222-watchdog-pic32-v1-1-a2538aa528d1@redhat.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
-rw-r--r--drivers/watchdog/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 3397c82ded9c..ae8c90fa194a 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -1998,7 +1998,7 @@ config MT7621_WDT
config PIC32_WDT
tristate "Microchip PIC32 hardware watchdog"
select WATCHDOG_CORE
- depends on MACH_PIC32 || (MIPS && COMPILE_TEST)
+ depends on MACH_PIC32 || COMPILE_TEST
help
Watchdog driver for the built in watchdog hardware in a PIC32.