]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
watchdog: pic32-dmt: allow driver to be compiled on all architectures with COMPILE_TEST
authorBrian Masney <bmasney@redhat.com>
Sun, 22 Feb 2026 23:24:17 +0000 (18:24 -0500)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 10 May 2026 15:31:33 +0000 (08:31 -0700)
This driver currently only supports builds against a PIC32 target, or
with COMPILE_TEST on MIPS. Now that commit 0f8a61ca78d6 ("watchdog:
pic32-dmt: 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-2-a2538aa528d1@redhat.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/watchdog/Kconfig

index ae8c90fa194a4716e29f29c1bae835cfa620aad4..d58a0bd0bdeb8d520970bd796539796c0aee5f53 100644 (file)
@@ -2011,7 +2011,7 @@ config PIC32_WDT
 config PIC32_DMT
        tristate "Microchip PIC32 Deadman Timer"
        select WATCHDOG_CORE
-       depends on MACH_PIC32 || (MIPS && COMPILE_TEST)
+       depends on MACH_PIC32 || COMPILE_TEST
        help
          Watchdog driver for PIC32 instruction fetch counting timer. This
          specific timer is typically be used in mission critical and safety