mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
ce0b098981
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>
10 lines
277 B
C
10 lines
277 B
C
#ifndef _MRST_VRTC_H
|
|
#define _MRST_VRTC_H
|
|
|
|
extern unsigned char vrtc_cmos_read(unsigned char reg);
|
|
extern void vrtc_cmos_write(unsigned char val, unsigned char reg);
|
|
extern void vrtc_get_time(struct timespec *now);
|
|
extern int vrtc_set_mmss(const struct timespec *now);
|
|
|
|
#endif
|