diff options
author | Steve Muckle <smuckle@google.com> | 2019-11-06 11:46:25 -0800 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2020-03-23 21:14:34 +0100 |
commit | f9b2a4d6a5f18e0aaf715206a056565c56889d9f (patch) | |
tree | bdeca920791915a229977f6b345d2729f7fc0b24 /drivers/rtc/Kconfig | |
parent | 34ce29774dadc24ac1a529c562c325db2b77c7b4 (diff) | |
download | linux-f9b2a4d6a5f18e0aaf715206a056565c56889d9f.tar.bz2 |
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>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r-- | drivers/rtc/Kconfig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 6c99156cbe57..417fc6ec9338 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -41,9 +41,6 @@ config RTC_HCTOSYS_DEVICE device should record time in UTC, since the kernel won't do timezone correction. - The driver for this RTC device must be loaded before late_initcall - functions run, so it must usually be statically linked. - This clock should be battery-backed, so that it reads the correct time when the system boots from a power-off state. Otherwise, your system will need an external clock source (like an NTP server). |