forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-09 95099d4622f8cb224d94e314c7a8e0df60b13f87
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;