1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _INTEL_MID_VRTC_H
3 #define _INTEL_MID_VRTC_H
5 extern unsigned char vrtc_cmos_read(unsigned char reg);
6 extern void vrtc_cmos_write(unsigned char val, unsigned char reg);
7 extern void vrtc_get_time(struct timespec *now);
8 extern int vrtc_set_mmss(const struct timespec *now);