[PATCH 2/2] watchdog: Relax dependencies for CONFIG_WDT_MTX1

From: Florian Fainelli
Date: Wed Dec 11 2019 - 16:02:19 EST


Now that we have dropped the inclusion of a machine specific header, we
can allow the driver to be compile tested beyond just MIPS.

Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 1679e0dc869b..982897ff074e 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -1651,7 +1651,7 @@ config JZ4740_WDT

config WDT_MTX1
tristate "MTX-1 Hardware Watchdog"
- depends on MIPS_MTX1 || (MIPS && COMPILE_TEST)
+ depends on MIPS_MTX1 || COMPILE_TEST
help
Hardware driver for the MTX-1 boards. This is a watchdog timer that
will reboot the machine after a 100 seconds timer expired.
--
2.17.1