]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/powerpc/kernel/time.c
Merge branch 'fortglx/3.9/time' of git://git.linaro.org/people/jstultz/linux into...
[linux.git] / arch / powerpc / kernel / time.c
index 127361e093f49931a87f3fdbc8cad4c88eae5679..aaba2e05a4170f9a9ed76201084b38d10752f071 100644 (file)
@@ -668,7 +668,7 @@ int update_persistent_clock(struct timespec now)
        struct rtc_time tm;
 
        if (!ppc_md.set_rtc_time)
-               return 0;
+               return -ENODEV;
 
        to_tm(now.tv_sec + 1 + timezone_offset, &tm);
        tm.tm_year -= 1900;