1 /* SPDX-License-Identifier: GPL-2.0-only */
16 /* Implemented by the RTC driver (there can be only one) */
17 int rtc_set(const struct rtc_time
*time
);
18 int rtc_get(struct rtc_time
*time
);
20 /* Common functions */
21 int rtc_to_tm(int tim
, struct rtc_time
*tm
);
22 unsigned long rtc_mktime(const struct rtc_time
*tm
);
23 void rtc_display(const struct rtc_time
*tm
);
24 int rtc_invalid(const struct rtc_time
*tm
);