Merge tag 'libnvdimm-for-4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm...
[firefly-linux-kernel-4.4.55.git] / kernel / time / ntp.c
index fb4d98c7fd43e715d795d8df2c522c80b2204361..df68cb87524885dd561b615300137a68d7ecfbdb 100644 (file)
@@ -487,6 +487,11 @@ out:
 }
 
 #ifdef CONFIG_GENERIC_CMOS_UPDATE
+int __weak update_persistent_clock(struct timespec now)
+{
+       return -ENODEV;
+}
+
 int __weak update_persistent_clock64(struct timespec64 now64)
 {
        struct timespec now;