summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/mrst-vrtc.h
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2013-05-29 00:03:09 (GMT)
committerJohn Stultz <john.stultz@linaro.org>2013-05-29 19:57:35 (GMT)
commitce0b098981544d9f4e910ea48f3af3e726ca6d6b (patch)
tree5eef95c9c9167aad8cc8b1229842abd429886863 /arch/x86/include/asm/mrst-vrtc.h
parent5c83545f24ab3dd67e0ae0e2b795fea750f08c34 (diff)
downloadlinux-fsl-qoriq-ce0b098981544d9f4e910ea48f3af3e726ca6d6b.tar.xz
x86: Fix vrtc_get_time/set_mmss to use new timespec interface
The patch "x86: Increase precision of x86_platform.get/set_wallclock" changed the x86 platform set_wallclock/get_wallclock interfaces to use nsec granular timespecs instead of a second granular interface. However, that patch missed converting the vrtc code, so this patch converts those functions to use timespecs. Many thanks to the kbuild test robot for finding this! Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'arch/x86/include/asm/mrst-vrtc.h')
-rw-r--r--arch/x86/include/asm/mrst-vrtc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/mrst-vrtc.h b/arch/x86/include/asm/mrst-vrtc.h
index 73668ab..1e69a75 100644
--- a/arch/x86/include/asm/mrst-vrtc.h
+++ b/arch/x86/include/asm/mrst-vrtc.h
@@ -3,7 +3,7 @@
extern unsigned char vrtc_cmos_read(unsigned char reg);
extern void vrtc_cmos_write(unsigned char val, unsigned char reg);
-extern unsigned long vrtc_get_time(void);
-extern int vrtc_set_mmss(unsigned long nowtime);
+extern void vrtc_get_time(struct timespec *now);
+extern int vrtc_set_mmss(const struct timespec *now);
#endif