]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: class: support hctosys from modular RTC drivers
authorSteve Muckle <smuckle@google.com>
Wed, 6 Nov 2019 19:46:25 +0000 (11:46 -0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 23 Mar 2020 20:14:34 +0000 (21:14 +0100)
commit69e101601d86a87f647cceceed3168f45f0789ea
treebdeca920791915a229977f6b345d2729f7fc0b24
parent778d7f9316c3eb4e6d15ca9fec28893707419b9f
rtc: class: support hctosys from modular RTC drivers

Due to distribution constraints it may not be possible to statically
compile the required RTC driver into the kernel.

Expand RTC_HCTOSYS support to cover all RTC devices (statically compiled
or not) by checking at the end of RTC device registration whether the
time should be synced.

Signed-off-by: Steve Muckle <smuckle@google.com>
Link: https://lore.kernel.org/r/20191106194625.116692-1-smuckle@google.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig
drivers/rtc/Makefile
drivers/rtc/class.c
drivers/rtc/hctosys.c [deleted file]