hal-backend-power: Replace prefix from 'pass' to 'hal_power' 30/318230/1 accepted/tizen_9.0_unified tizen_9.0 accepted/tizen/9.0/unified/20250116.015844
authorUnsung Lee <unsung.lee@samsung.com>
Tue, 14 Jan 2025 07:54:51 +0000 (16:54 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Tue, 14 Jan 2025 09:19:34 +0000 (18:19 +0900)
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: I924300ec7312c93072bcb1423c0a4d9697224a55
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/hal-backend-power.c

index c081d9e8dc3e0df2c0a59bf4aee756cd438e3e3b..3b46b20f4d5c98d024dcee113e6e5f86e73ca17c 100644 (file)
@@ -240,7 +240,7 @@ static int cpu_dvfs_get_available_max_freq(char *res_name)
        return val;
 }
 
-static struct pass_resource_dvfs_ops cpu_dvfs_ops =  {
+static struct hal_power_resource_dvfs_ops cpu_dvfs_ops =  {
        .get_curr_governor = cpu_dvfs_get_curr_governor,
        .set_curr_governor = cpu_dvfs_set_curr_governor,
        .get_curr_freq = cpu_dvfs_get_curr_freq,
@@ -304,7 +304,7 @@ static int cpu_tmu_get_policy(char *res_thermal_name, char *policy)
        return 0;
 }
 
-static struct pass_resource_tmu_ops cpu_tmu_ops = {
+static struct hal_power_resource_tmu_ops cpu_tmu_ops = {
        .get_temp = cpu_tmu_get_temp,
        .get_policy = cpu_tmu_get_policy,
 };