Skip to content

Commit c7f3be4

Browse files
rtc: ds1374: fix RTC_DRV_DS1374_WDT dependencies
It is not enough to select WATCHDOG_CORE, the watchdog part of the driver now also depends on WATCHDOG. This is currently the best we can do because alarm support and watchdog support are mutually exclusive. Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> # build-tested Link: https://lore.kernel.org/r/20200720075250.1019172-1-alexandre.belloni@bootlin.com
1 parent a5e6f96 commit c7f3be4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/rtc/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ config RTC_DRV_DS1374
281281

282282
config RTC_DRV_DS1374_WDT
283283
bool "Dallas/Maxim DS1374 watchdog timer"
284-
depends on RTC_DRV_DS1374
285-
select WATCHDOG_CORE if WATCHDOG
284+
depends on RTC_DRV_DS1374 && WATCHDOG
285+
select WATCHDOG_CORE
286286
help
287287
If you say Y here you will get support for the
288288
watchdog timer in the Dallas Semiconductor DS1374

0 commit comments

Comments
 (0)