Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
rtc
/
systohc.c
diff --git
a/kernel/drivers/rtc/systohc.c
b/kernel/drivers/rtc/systohc.c
index
7728d5e
..
b4a68ff
100644
(file)
--- a/
kernel/drivers/rtc/systohc.c
+++ b/
kernel/drivers/rtc/systohc.c
@@
-31,7
+31,7
@@
int rtc_set_ntp_time(struct timespec64 now)
else
rtc_time64_to_tm(now.tv_sec + 1, &tm);
else
rtc_time64_to_tm(now.tv_sec + 1, &tm);
- rtc = rtc_class_open(CONFIG_RTC_
HCTOSYS
_DEVICE);
+ rtc = rtc_class_open(CONFIG_RTC_
SYSTOHC
_DEVICE);
if (rtc) {
/* rtc_hctosys exclusively uses UTC, so we call set_time here,
* not set_mmss. */
if (rtc) {
/* rtc_hctosys exclusively uses UTC, so we call set_time here,
* not set_mmss. */