| From b04f5ee59b9fd6cf1ebbbac9ad1a358667c405b0 Mon Sep 17 00:00:00 2001 |
| From: David Engraf <david.engraf@sysgo.com> |
| Date: Wed, 27 Nov 2019 09:46:17 +0100 |
| Subject: [PATCH] watchdog: max77620_wdt: fix potential build errors |
| |
| commit da9e3f4e30a53cd420cf1e6961c3b4110f0f21f0 upstream. |
| |
| max77620_wdt uses watchdog core functions. Enable CONFIG_WATCHDOG_CORE |
| to fix potential build errors. |
| |
| Signed-off-by: David Engraf <david.engraf@sysgo.com> |
| Reviewed-by: Guenter Roeck <linux@roeck-us.net> |
| Link: https://lore.kernel.org/r/20191127084617.16937-1-david.engraf@sysgo.com |
| Signed-off-by: Guenter Roeck <linux@roeck-us.net> |
| Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org> |
| Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> |
| |
| diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig |
| index c55f5c19ce09..44d2a41cd2d3 100644 |
| --- a/drivers/watchdog/Kconfig |
| +++ b/drivers/watchdog/Kconfig |
| @@ -694,6 +694,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.7.4 |
| |