]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6085e652016dd3ab78d08326ecdae9cb84e30c33
tree5eef95c9c9167aad8cc8b1229842abd429886863
parent14633f8e2aa6d26438888b09fafc949ae36fd294
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