Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git] / drivers / rtc / systohc.c
index 7728d5e32bf4921d7bfd02cabe4b5c1ea124a6bd..b4a68ffcd06bb876231f2893de69f30a8fe854d9 100644 (file)
@@ -31,7 +31,7 @@ int rtc_set_ntp_time(struct timespec64 now)
        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. */