]> 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)
commit0942a7839c3e9a4f6038c1256eb2e1032b804db7
tree5eef95c9c9167aad8cc8b1229842abd429886863
parent4dabde9b4fcff81cb5b06d48463a9ecf47035629
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