From d3de4beb14a887754b83843bf23b6dbe8d022764 Mon Sep 17 00:00:00 2001 From: "Johnson CH Chen (陳昭勳)" Date: Thu, 9 Jul 2020 06:34:06 +0000 Subject: rtc: ds1374: wdt: Use watchdog core for watchdog part Let ds1374 watchdog use watchdog core functions. It also includes improving watchdog timer setting and nowayout, and just uses ioctl() of watchdog core. Signed-off-by: Johnson Chen Signed-off-by: Alexandre Belloni Reviewed-by: Guenter Roeck Link: https://lore.kernel.org/r/HK2PR01MB328182D5A54BFAA8A22E448AFA640@HK2PR01MB3281.apcprd01.prod.exchangelabs.com --- drivers/rtc/Kconfig | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/rtc/Kconfig') diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index b54d87d45c89..c25d51f35f0c 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -282,6 +282,7 @@ config RTC_DRV_DS1374 config RTC_DRV_DS1374_WDT bool "Dallas/Maxim DS1374 watchdog timer" depends on RTC_DRV_DS1374 + select WATCHDOG_CORE if WATCHDOG help If you say Y here you will get support for the watchdog timer in the Dallas Semiconductor DS1374 -- cgit v1.2.3-59-g8ed1b