x86: Fix vrtc_get_time/set_mmss to use new timespec interface
authorJohn Stultz <john.stultz@linaro.org>
Wed, 29 May 2013 00:03:09 +0000 (17:03 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Wed, 29 May 2013 19:57:35 +0000 (12:57 -0700)
commitce0b098981544d9f4e910ea48f3af3e726ca6d6b
tree5eef95c9c9167aad8cc8b1229842abd429886863
parent5c83545f24ab3dd67e0ae0e2b795fea750f08c34
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>
arch/x86/include/asm/mrst-vrtc.h
arch/x86/platform/mrst/vrtc.c