Re: [PATCH 1/2] watchdog: pic32-wdt: allow driver to be compiled on all architectures with COMPILE_TEST
From: Guenter Roeck
Date: Sun Feb 22 2026 - 21:43:57 EST
On Sun, Feb 22, 2026 at 06:24:16PM -0500, Brian Masney wrote:
> 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@xxxxxxxxxx>
Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> ---
> drivers/watchdog/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
> index dc78729ba2a5d6e035ed3cbe5c2b631d11b76b20..ec20bb80bdd5eb9b4852ffc8150e7999a42f7635 100644
> --- a/drivers/watchdog/Kconfig
> +++ b/drivers/watchdog/Kconfig
> @@ -2011,7 +2011,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.
>
>
> --
> 2.53.0
>