Skip to contentSkip to conversation

watchdog: max77620_wdt: fix potential build errors

PATCH Superseded David Engraf 2 participants 3 messages Nov 27, 2019 – Dec 23, 2019 Watchdog device drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 watchdog: max77620_wdt: fix potential build errors

max77620_wdt uses watchdog core functions. Enable CONFIG_WATCHDOG_CORE to fix potential build errors.

---
 drivers/watchdog/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/watchdog/Kconfig +1 -0
index 58e7c100b6ad..c9cc34f4e541 100644
@@ -687,6 +687,7 @@ config MAX63XX_WATCHDOG
 config MAX77620_WATCHDOG
 	tristate "Maxim Max77620 Watchdog Timer"
 	depends on MFD_MAX77620 || COMPILE_TEST
+	select WATCHDOG_CORE
 	help
 	 This is the driver for the Max77620 watchdog timer.
 	 Say 'Y' here to enable the watchdog timer support for
Signature · 1 line
2.17.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · David Engraf

max77620_wdt uses watchdog core functions. Enable CONFIG_WATCHDOG_CORE to fix potential build errors.

Quoted 17 lines
---
  drivers/watchdog/Kconfig | 1 +
  1 file changed, 1 insertion(+)
drivers/watchdog/Kconfig +1 -0
index 58e7c100b6ad..c9cc34f4e541 100644
@@ -687,6 +687,7 @@ config MAX63XX_WATCHDOG
  config MAX77620_WATCHDOG
  	tristate "Maxim Max77620 Watchdog Timer"
  	depends on MFD_MAX77620 || COMPILE_TEST
+	select WATCHDOG_CORE
  	help
  	 This is the driver for the Max77620 watchdog timer.
  	 Say 'Y' here to enable the watchdog timer support for
#2 lore raw

PATCH RESEND 1/1 watchdog: max77620_wdt: fix potential build errors

max77620_wdt uses watchdog core functions. Enable CONFIG_WATCHDOG_CORE to fix potential build errors.

---
 drivers/watchdog/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/watchdog/Kconfig +1 -0
index 58e7c100b6ad..c9cc34f4e541 100644
@@ -687,6 +687,7 @@ config MAX63XX_WATCHDOG
 config MAX77620_WATCHDOG
 	tristate "Maxim Max77620 Watchdog Timer"
 	depends on MFD_MAX77620 || COMPILE_TEST
+	select WATCHDOG_CORE
 	help
 	 This is the driver for the Max77620 watchdog timer.
 	 Say 'Y' here to enable the watchdog timer support for
Signature · 1 line
2.17.1