From: Unsung Lee Date: Tue, 14 Jan 2025 11:57:20 +0000 (+0900) Subject: hal-backend-power: Replace prefix from 'pass' to 'hal_power' X-Git-Tag: accepted/tizen/9.0/unified/20250116.015851^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=43bb4a43e1b80f53884cc82b31ed5d478edb76e0;p=platform%2Fadaptation%2Fpass-hal-standard.git 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: I58a53d66dff5c8ef3102512e42164053ee09f0e7 Signed-off-by: Unsung Lee --- diff --git a/src/hal-backend-power.c b/src/hal-backend-power.c index aa0a72e..357c2e1 100644 --- a/src/hal-backend-power.c +++ b/src/hal-backend-power.c @@ -288,7 +288,7 @@ static int cpufreq_dvfs_set_up_threshold(char *res_name, int up_threshold) return 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, @@ -354,7 +354,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, @@ -413,7 +413,7 @@ static int tmu_get_policy(char *res_thermal_name, char *policy) return 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, }; @@ -619,7 +619,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,