watchdog: Do not enable by default during compile testing
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 4 Apr 2025 12:39:41 +0000 (14:39 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 24 May 2025 14:57:53 +0000 (16:57 +0200)
Enabling the compile test should not cause automatic enabling of all
drivers.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20250404123941.362620-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
drivers/watchdog/Kconfig

index 0d8d37f712e8cfb4bf8156853baa13c23a57d6d9..1d29e5f4f40c4100b5fc31bd4fed6143bbeb347c 100644 (file)
@@ -1001,7 +1001,7 @@ config STM32_WATCHDOG
        tristate "STM32 Independent WatchDoG (IWDG) support"
        depends on ARCH_STM32 || COMPILE_TEST
        select WATCHDOG_CORE
-       default y
+       default ARCH_STM32
        help
          Say Y here to include support for the watchdog timer
          in stm32 SoCs.
@@ -1869,7 +1869,7 @@ config OCTEON_WDT
 config MARVELL_GTI_WDT
        tristate "Marvell GTI Watchdog driver"
        depends on ARCH_THUNDER || (COMPILE_TEST && 64BIT)
-       default y
+       default ARCH_THUNDER
        select WATCHDOG_CORE
        help
          Marvell GTI hardware supports watchdog timer. First timeout
@@ -2035,7 +2035,7 @@ config 8xxx_WDT
 config PIKA_WDT
        tristate "PIKA FPGA Watchdog"
        depends on WARP || (PPC64 && COMPILE_TEST)
-       default y
+       default WARP
        help
          This enables the watchdog in the PIKA FPGA. Currently used on
          the Warp platform.