summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Engraf <david.engraf@sysgo.com>2019-11-27 09:46:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-02-01 09:37:08 +0000
commit27818683072306bf1a7a26761f7a8fa0bd7a0e39 (patch)
treea036bc68f22125309c03ff03271d3ee2e1e17c20
parente0fcfcda809cb3b52e59cfb28d72d95bc93436b0 (diff)
downloadlinux-27818683072306bf1a7a26761f7a8fa0bd7a0e39.tar.gz
linux-27818683072306bf1a7a26761f7a8fa0bd7a0e39.tar.bz2
linux-27818683072306bf1a7a26761f7a8fa0bd7a0e39.zip
watchdog: max77620_wdt: fix potential build errors
[ Upstream commit da9e3f4e30a53cd420cf1e6961c3b4110f0f21f0 ] 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: Sasha Levin <sashal@kernel.org>
-rw-r--r--drivers/watchdog/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index b165c46aca74..709d4de11f40 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -594,6 +594,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