hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
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);