From b7957757245875a1b1839b2f788b86873cc3fce9 Mon Sep 17 00:00:00 2001 From: Unsung Lee Date: Tue, 14 Jan 2025 14:17:42 +0900 Subject: [PATCH] hal-backend-power: Replace prefix from 'pass' to 'hal_power' Replace prefix of structure from 'pass' to 'hal_power'. This is because the structure of hal-api-power name prefix is changed from pass to hal_power. Change-Id: Ic0ac1601273cb4d3305e423c0c73e2bcbfee9ff2 Signed-off-by: Unsung Lee --- src/hal-backend-power.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hal-backend-power.c b/src/hal-backend-power.c index 10f363d..24ed2f0 100644 --- a/src/hal-backend-power.c +++ b/src/hal-backend-power.c @@ -257,7 +257,7 @@ static int cpufreq_dvfs_set_up_threshold(char *res_name, int up_threshold) 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, @@ -323,7 +323,7 @@ static int cpu_hotplug_set_online_state(char *res_name, int cpu, int on) 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, @@ -366,7 +366,7 @@ static int tmu_get_policy(char *res_thermal_name, char *policy) 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, }; @@ -492,7 +492,7 @@ static int devfreq_dvfs_get_available_max_freq(char *res_name) 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, -- 2.34.1