Skip to content

Commit

Permalink
rtc: ds1374: fix RTC_DRV_DS1374_WDT dependencies
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Alexandre Belloni committed Jul 21, 2020
1 parent a5e6f96 commit c7f3be4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/rtc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ 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
depends on RTC_DRV_DS1374 && WATCHDOG
select WATCHDOG_CORE
help
If you say Y here you will get support for the
watchdog timer in the Dallas Semiconductor DS1374
Expand Down

0 comments on commit c7f3be4

Please sign in to comment.