From 7ba03617fe6cd5339e790245ef507d7a8f156f26 Mon Sep 17 00:00:00 2001 From: Unsung Lee Date: Tue, 14 Jan 2025 14:21:17 +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: I1fc6a80a9f3c0b9e0951d225862bdd39c5b001bc Signed-off-by: Unsung Lee --- src/hal-backend-power.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/hal-backend-power.c b/src/hal-backend-power.c index 24f79be..2fe8c94 100644 --- a/src/hal-backend-power.c +++ b/src/hal-backend-power.c @@ -248,7 +248,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, @@ -314,7 +314,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, }; @@ -353,7 +353,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, }; @@ -422,13 +422,13 @@ static int gpu_dvfs_get_curr_freq(char *res_name) return (ret < 0) ? ret : (freq * 1000); } -static struct pass_resource_dvfs_ops bus_dvfs_ops = { +static struct hal_power_resource_dvfs_ops bus_dvfs_ops = { .get_curr_freq = bus_dvfs_get_curr_freq, .get_min_freq = bus_dvfs_get_curr_freq, .get_max_freq = bus_dvfs_get_curr_freq, }; -static struct pass_resource_dvfs_ops gpu_dvfs_ops = { +static struct hal_power_resource_dvfs_ops gpu_dvfs_ops = { .get_curr_freq = gpu_dvfs_get_curr_freq, .get_min_freq = gpu_dvfs_get_min_freq, .get_max_freq = gpu_dvfs_get_max_freq, -- 2.34.1