]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
watchdog: max77620_wdt: fix potential build errors
authorDavid Engraf <david.engraf@sysgo.com>
Wed, 27 Nov 2019 08:46:17 +0000 (09:46 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Mon, 30 Dec 2019 14:58:24 +0000 (15:58 +0100)
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>
drivers/watchdog/Kconfig

index 1679e0dc869b049b1282a2db04a31ad946bc9426..2e5e52d7ee8f409276bb4e955517092d68f544fe 100644 (file)
@@ -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