]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: expose RTC_FEATURE_UPDATE_INTERRUPT
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:23:36 +0000 (17:23 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 18 Oct 2021 15:25:52 +0000 (17:25 +0200)
commitd906c0d47bb7bf2e8d0f7d9ea43cd189147292e7
tree1009fe609d9a5eed07c5d4afd780926f97b448cf
parentb1a865447b8dfed5012b5fb7114583f9cad97062
rtc: expose RTC_FEATURE_UPDATE_INTERRUPT

Set RTC_FEATURE_UPDATE_INTERRUPT by default and clear it when it is not
supported.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211018152337.78732-1-alexandre.belloni@bootlin.com
drivers/rtc/class.c
drivers/rtc/interface.c