forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 1f93a7dfd1f8d5ff7a5c53246c7534fe2332d6f4
kernel/include/soc/rockchip/pm_domains.h
....@@ -15,6 +15,21 @@
1515 int rockchip_restore_qos(struct device *dev);
1616 void rockchip_dump_pmu(void);
1717 #else
18
+static inline int rockchip_pmu_pd_on(struct device *dev)
19
+{
20
+ return -ENOTSUPP;
21
+}
22
+
23
+static inline int rockchip_pmu_pd_off(struct device *dev)
24
+{
25
+ return -ENOTSUPP;
26
+}
27
+
28
+static inline bool rockchip_pmu_pd_is_on(struct device *dev)
29
+{
30
+ return true;
31
+}
32
+
1833 static inline int rockchip_pmu_idle_request(struct device *dev, bool idle)
1934 {
2035 return -ENOTSUPP;