kernel/include/soc/rockchip/pm_domains.h
.. .. @@ -15,6 +15,21 @@ 15 15 int rockchip_restore_qos(struct device *dev); 16 16 void rockchip_dump_pmu(void); 17 17 #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 +18 33 static inline int rockchip_pmu_idle_request(struct device *dev, bool idle) 19 34 { 20 35 return -ENOTSUPP;