hc
2024-05-10 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb
kernel/include/linux/pmu.h
....@@ -9,6 +9,7 @@
99 #ifndef _LINUX_PMU_H
1010 #define _LINUX_PMU_H
1111
12
+#include <linux/rtc.h>
1213 #include <uapi/linux/pmu.h>
1314
1415
....@@ -36,6 +37,9 @@
3637
3738 extern void pmu_enable_irled(int on);
3839
40
+extern time64_t pmu_get_time(void);
41
+extern int pmu_set_rtc_time(struct rtc_time *tm);
42
+
3943 extern void pmu_restart(void);
4044 extern void pmu_shutdown(void);
4145 extern void pmu_unlock(void);