rtc: ds1374: fix RTC_DRV_DS1374_WDT dependencies
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 20 Jul 2020 07:52:49 +0000 (09:52 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 21 Jul 2020 07:56:34 +0000 (09:56 +0200)
commitc7f3be4c94d3686ec67b7e7b4fb47e4c225a2789
treea875f09162bf780c0f9042235931849d55274b51
parenta5e6f964bb2c613933de58a35ddfa306128ba004
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
drivers/rtc/Kconfig