summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2019-10-23 19:47:14 +0200
committerWim Van Sebroeck <wim@linux-watchdog.org>2019-11-18 20:14:47 +0100
commit33c26ab4d6beec44bd5f525ffba1c23bf962d4a7 (patch)
tree264dc7b5b136a9718eed0a4c91101f6dfdd7fff4
parentwatchdog: jz4740: Use regmap provided by TCU driver (diff)
downloadlinux-33c26ab4d6beec44bd5f525ffba1c23bf962d4a7.tar.xz
linux-33c26ab4d6beec44bd5f525ffba1c23bf962d4a7.zip
watchdog: jz4740: Drop dependency on MACH_JZ47xx
Depending on MACH_JZ47xx prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Acked-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20191023174714.14362-3-paul@crapouillou.net Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
-rw-r--r--drivers/watchdog/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index 50214ea7e34a..1679e0dc869b 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -1642,7 +1642,7 @@ config INDYDOG
config JZ4740_WDT
tristate "Ingenic jz4740 SoC hardware watchdog"
- depends on MACH_JZ4740 || MACH_JZ4780
+ depends on MIPS
depends on COMMON_CLK
select WATCHDOG_CORE
select MFD_SYSCON