return (ret < 0) ? ret : 0;
}
-static struct pass_resource_dvfs_ops cpufreq_dvfs_ops = {
+static struct hal_power_resource_dvfs_ops cpufreq_dvfs_ops = {
.get_curr_governor = cpufreq_dvfs_get_curr_governor,
.set_curr_governor = cpufreq_dvfs_set_curr_governor,
.get_curr_freq = cpufreq_dvfs_get_curr_freq,
return 0;
}
-static struct pass_resource_hotplug_ops cpu_hotplus_ops = {
+static struct hal_power_resource_hotplug_ops cpu_hotplus_ops = {
.get_online_state = cpu_hotplug_get_online_state,
.set_online_state = cpu_hotplug_set_online_state,
.get_online_min_num = NULL,
return (ret < 0) ? ret : 0;
}
-static struct pass_resource_tmu_ops tmu_ops = {
+static struct hal_power_resource_tmu_ops tmu_ops = {
.get_temp = tmu_get_temp,
.get_policy = tmu_get_policy,
};
return ret;
}
-static struct pass_resource_dvfs_ops devfreq_dvfs_ops = {
+static struct hal_power_resource_dvfs_ops devfreq_dvfs_ops = {
.get_curr_governor = devfreq_dvfs_get_curr_governor,
.set_curr_governor = devfreq_dvfs_set_curr_governor,
.get_curr_freq = devfreq_dvfs_get_curr_freq,